Skip to content

Instantly share code, notes, and snippets.

@ivanjr0
Created September 11, 2013 14:54
Show Gist options
  • Save ivanjr0/6524781 to your computer and use it in GitHub Desktop.
Save ivanjr0/6524781 to your computer and use it in GitHub Desktop.
git add . >> /dev/null
git commit -m "parcial commit (backup)" >> /dev/null
git push origin `git rev-parse --abbrev-ref HEAD`:backup -f >> /dev/null
git reset HEAD~1 >> /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment