Skip to content

Instantly share code, notes, and snippets.

@ScreamingDev
Created September 18, 2013 18:00
Show Gist options
  • Select an option

  • Save ScreamingDev/6612968 to your computer and use it in GitHub Desktop.

Select an option

Save ScreamingDev/6612968 to your computer and use it in GitHub Desktop.
l = log, s =status, master-v0.4 is A, master-v0.3.2 is B
git merge v0.3.1
git diff v0.3.1
git l
git l HEAD
git l ..HEAD
git checkout master-v0.4
git s
git l
git checkout -B master-v0.3.2
git checkout master-v0.4
git pull
git log BASE..HEAD
git log master-v0.4..HEAD
git reflog
git cherry-pick a1b66eb
git cherry-pick a83ecae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment