Thanks thomas i have already this article and i dint understand where to 
put these lines 


pick 1fc6c95 Patch A
squash fa39187 something to add to patch A
pick 7b36971 something to move before patch B



On Monday, 15 July 2013 17:25:23 UTC+5:30, Thomas Ferris Nicolaisen wrote:
>
> On Monday, July 15, 2013 1:17:36 PM UTC+2, Amit Kumar wrote:
>
>> Hello ,
>>
>>
>> I m working on a open source project and using git for this, but i m new 
>> in using git and unclear about the concept of rebasing.
>>
>> I have made many commits but now i need to do rebase and when i do rebase 
>> it says "current branch is already updated." 
>>
>> My work flow is like i clone a project from git and start working on its 
>> branch.
>>
>>    1. First commit 
>>    2. Second commit
>>    3. Third commit
>>    4. fourth commit
>>    5. Fifth commit
>>
>> But now i want to rebase and want to merge the first and last commit and 
>> remove the all middle commits.
>>
>> How to do this .??
>>
>
> You can do this with an interactive rebase. Have a look at 
> https://help.github.com/articles/interactive-rebase 
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to