Skip to content

Instantly share code, notes, and snippets.

@peerapongsam
Created February 18, 2018 07:36
Show Gist options
  • Save peerapongsam/0b6046a18bb0e3fc0d8ae55c2a0fa58e to your computer and use it in GitHub Desktop.
Save peerapongsam/0b6046a18bb0e3fc0d8ae55c2a0fa58e to your computer and use it in GitHub Desktop.

Git Cheat Sheet

Undo Merge

git checkout develop
git reset --hard af861e4
git checkout feature/register
git reset --hard 26cf460
git checkout develop
git merge feature/register --no-ff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment