Difference between revisions of "ZhoubaWiki:GitCheatSheet"
Jump to navigation
Jump to search
(Created page with "== Rebase for dummies == <syntaxhighlight> git rebase -i HEAD~9 </syntaxhighlight> * <code>HEAD~9</code> means how many commits before HEAD to process Then go on based on h...") |
(No difference)
|
Latest revision as of 16:43, 22 May 2021
Rebase for dummies
git rebase -i HEAD~9HEAD~9means how many commits before HEAD to process
Then go on based on hints in comments within your $EDITOR
And finally...
git force --push origin branch-name... and let your colleagues hate you:-)