Last active
February 6, 2017 08:25
-
-
Save burakince/25713dd1e8658a280a976d7d2f49395d to your computer and use it in GitHub Desktop.
Git synchronization command for OCL project
This file contains 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
git config --global alias.ocl '!git stash; git fetch --all; git reset --hard upstream/master; git push origin master --force; git stash pop; git status' | |
# For usage pls try 'git ocl' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment