আমার একটি কার্যনির্বাহী গাছ রয়েছে যার মধ্যে 3 টি কমিট রয়েছে:
~ ~ মাইপ্রজেক্ট গিট: (মাস্টার) git log
commit a99cce8240495de29254b5df8745e41815db5a75
Author: My Name <my@mail.com>
Date: Thu Aug 16 00:59:05 2012 +0200
.gitignore edits
commit 5bccda674c7ca51e849741290530a0d48efd69e8
Author: My Name <my@mail.com>
Date: Mon Aug 13 01:36:39 2012 +0200
Create .gitignore file
commit 6707a66191c84ec6fbf148f8f1c3e8ac83453ae3
Author: My Name <my@mail.com>
Date: Mon Aug 13 01:13:05 2012 +0200
Initial commit (with a misleading message)
এখন আমি rewordআমার প্রথম প্রতিশ্রুতিবদ্ধ প্রতিশ্রুতিবদ্ধ হতে চাই (6707a66)
~ ~ মাইপ্রজেক্ট গিট: (মাস্টার) git rebase -i 6707
(... ভিমে প্রবেশ করা)
pick 5bccda6 Create .gitignore file
pick a99cce8 .gitignore edits
# Rebase 6707a66..a99cce8 onto 6707a66
#
# Commands:
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out
এই ক্ষেত্রে, আমি ( rewordগিট পার্লেন্সে) প্রশ্নে প্রতিশ্রুতিবদ্ধ বার্তাটি সংশোধন করতে চাই:
প্রাথমিক প্রতিশ্রুতি (একটি বিভ্রান্তিমূলক বার্তা সহ)
... উপযুক্ত কিছু।
আশ্চর্যজনকভাবে, আমার প্রথম প্রচেষ্টাটি সফল হয়নি কারণ প্রথম প্রতিশ্রুতিতে অবশ্যই কোনও পিতামাতার প্রতিশ্রুতি নেই। (এবং আপনি যখন rebase, আপনি চান তার আগে পূর্বের প্রতিশ্রুতিবদ্ধ রেফারেন্স করা দরকার reword, ঠিক?)
আমার প্রশ্নের সারসংক্ষেপ, এইভাবে, আপনি এটি করার অন্য কোনও উপায়ে এটি অর্জন করতে পারেন?