Skip to content

Instantly share code, notes, and snippets.

@eharsojo
Last active January 4, 2016 01:29
Show Gist options
  • Select an option

  • Save eharsojo/8549065 to your computer and use it in GitHub Desktop.

Select an option

Save eharsojo/8549065 to your computer and use it in GitHub Desktop.
Git common everyday use
git clone <repositry_url>
git pull
git branch -l
git checkout -f
git reset --hard HEAD
git add .
git rm <file_name>
git commit -m "messages"
git push
git merge <branch>
git rebase <branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment