Re: [git-users] How to apply a commit present inthe history on the HEAD

2013-01-17 Thread William Seiti Mizuta
If you want to apply the commit in the same branch, ie, just change the commit order, you can use git rebase -i. You just need to pass the hash of the commit before the one you want to change and change the order of the commits in the text editor that are showed to you when you use the command.

Re: [git-users] How to apply a commit present inthe history on the HEAD

2013-01-17 Thread Konstantin Khomoutov
On Thu, Jan 17, 2013 at 11:36:14AM -0800, python.pro...@gmail.com wrote: 1. I am trying to apply a commit which was done a while back on the HEAD. git log --oneline shows the following and lets say I want to apply the commit 2618b13 on the HEAD. 2617b13 2614b13 2611b13 2618b13 2618b13