Skip to content

Instantly share code, notes, and snippets.

@burakince
Last active February 6, 2017 08:25
Show Gist options
  • Save burakince/25713dd1e8658a280a976d7d2f49395d to your computer and use it in GitHub Desktop.
Save burakince/25713dd1e8658a280a976d7d2f49395d to your computer and use it in GitHub Desktop.
Git synchronization command for OCL project
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