Skip to content

Instantly share code, notes, and snippets.

Ben Watkins benwtks

Block or report user

Report or block benwtks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
benwtks /
Last active Oct 31, 2017
Useful git commands

Useful git commands

Undo last unpushed commit without losing changes

git reset HEAD~1 --soft

Undo changes to a specific file

git checkout -- (file name)

You can’t perform that action at this time.