login
Header Space

 
 

Re: Volume of commits

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Fredrik Tolf <fredrik@...>
Cc: <git@...>
Date: Thursday, July 12, 2007 - 12:09 pm

On Thu, Jul 12, 2007 at 04:51:44PM +0200, Fredrik Tolf wrote:

I was in your shoes but I recently learned rebase. If you want to edit a 
commit then find the SHA-1 in git log. Then assuming you are on master:

1. git checkout -b tmp SHA-1
2. git commit --amend
3. git checkout master
4. git rebase --onto tmp SHA-1

Both times, use the same SHA-1.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Volume of commits, Fredrik Tolf, (Thu Jul 12, 10:51 am)
Re: Volume of commits, Joshua N Pritikin, (Thu Jul 12, 12:09 pm)
Re: Volume of commits, Karl , (Thu Jul 12, 12:21 pm)
speck-geostationary