Skip to content

Version Control

Kanit Wongsuphasawat edited this page Jun 17, 2016 · 9 revisions

Git & Github

FAQs & Tips

Three ways to merge a pull request

  • Github's merge squash = git rebase -i master and squash all commits + push result to master

  • Github merge = git checkout master && git merge <branch> —no-ff

  • If you want linear history without squashing, manually do git checkout master && git merge <branch> (without —no-ff) would make the result linear too.

Resources

Clone this wiki locally