Last active
July 1, 2016 22:22
-
-
Save shams-ali/4702350695b19467b31f75f589168577 to your computer and use it in GitHub Desktop.
Github Commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#overwrite current branch to master | |
git checkout seotweaks | |
git merge -s ours master | |
git checkout master | |
git merge seotweaks | |
#force pull from master and overwrite | |
git fetch origin | |
git reset --hard origin/master | |
#removed old files from git | |
git rm -r --cached . | |
git add . | |
git commit -am 'git cache cleared' | |
git push | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment