Merge Git commits

git co master git pull git co my_branch git rebase -i master # in the interactive console r XXX f XXX f XXX f XXX ... r = I use this commit but change the message f = This commit will be merged with the previous ones Then: <esc> :wq Last: my_branch> git push -f my_remote HEAD:my_branch

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.