Skip to content

Instantly share code, notes, and snippets.

@jintao-zero
Created June 13, 2018 06:27
Show Gist options
  • Save jintao-zero/d0765acbb45cdbbff90490415a1e3bb5 to your computer and use it in GitHub Desktop.
Save jintao-zero/d0765acbb45cdbbff90490415a1e3bb5 to your computer and use it in GitHub Desktop.
command about git
1、获取分支对应的远端分支
git branch -vv
git remote show origin
2、获取两个分支的差别
git log A..B // show commit in B, not in A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment