Skip to content

Instantly share code, notes, and snippets.

@macournoyer
Created June 25, 2010 18:35
Show Gist options
  • Select an option

  • Save macournoyer/453245 to your computer and use it in GitHub Desktop.

Select an option

Save macournoyer/453245 to your computer and use it in GitHub Desktop.
# In your .gitconfig
[alias]
ptp = !git pull && rake && git push
push-retry = !git push || git ptp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment