Skip to content

Instantly share code, notes, and snippets.

@ribel
Last active December 13, 2015 21:18
Show Gist options
  • Save ribel/4976200 to your computer and use it in GitHub Desktop.
Save ribel/4976200 to your computer and use it in GitHub Desktop.
Usefull Git Commands
git clone <REPO> .
git submodule update --init
git remote add origin <REPO>
git push origin --mirror
git branch -d <branch_name>
git push origin :<branch_name>
OR
git push origin --delete <branch_name>
git merge master -s recursive -X theirs // Merges master to another branch with highest priority.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment