Skip to content

Instantly share code, notes, and snippets.

@gep13
Last active August 29, 2015 13:56
Show Gist options
  • Save gep13/8930424 to your computer and use it in GitHub Desktop.
Save gep13/8930424 to your computer and use it in GitHub Desktop.
Git Commands
# Revert changes to modified files.
git reset --hard
# Remove all untracked files and directories.
git clean -fd
# Remote Branch
git push origin --delete <branchName>
# Local Branch
git branch -D <branchName>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment