Skip to content

Instantly share code, notes, and snippets.

@alex-zige
Created April 22, 2013 04:04
Show Gist options
  • Save alex-zige/5432382 to your computer and use it in GitHub Desktop.
Save alex-zige/5432382 to your computer and use it in GitHub Desktop.
Git commands

#GIT

#reset the current head to origin status

git reset --hard origin master

#clean the repo & delete the untracked files

git clean -f 

#clean and remove direcotries

git clean -f -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment