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
> 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
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
For more options, visit https://groups.google.com/groups/opt_out.