Déplacer les N derniers commits vers une NOUVELLE branche (ne fonctionne pas avec une branche déjà créée)
git branch newbranch
git reset --hard HEAD~N
git checkout newbranchgit tag new_tag old_tag
git push --tags
git push origin :refs/tags/old_tag
git tag -d old_taggit tag -d tag_name
git push origin :refs/tags/tag_namegit reset --hard HEAD@{1}Eventuellement faire un git log -g pour revenir a un commit particulier (cf. http://stackoverflow.com/a/21778/5727772).