[TYPO3-core] Git: How to review a new version of a patch already applied to a local branch?
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Apr 5 19:15:30 CEST 2011
Steffen Kamper schrieb am 05.04.2011 18:49:
> Hi,
>
> i do it the same. Could you explain what HEAD^ means? I normally do
> something like
> git reset --hard origin/master
Good idea also and probably safer!
"HEAD^" means: one commit before current HEAD (which is the first one
shown in "git log"). Just a shortcut:
HEAD = last commit
HEAD^ = previous
HEAD~2 = previous
HEAD~3 = previous
..
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list