Skip to content

Instantly share code, notes, and snippets.

@zhoufankai
Last active May 26, 2017 02:13
Show Gist options
  • Save zhoufankai/988b24a29674e1ba76323d7ad2d065c1 to your computer and use it in GitHub Desktop.
Save zhoufankai/988b24a29674e1ba76323d7ad2d065c1 to your computer and use it in GitHub Desktop.
git checkout
git branch branch_name
git checkout branch_name
# if something merged, if you don't want this things happen. you can use reset.
git reset branch_name --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment