Skip to content

Instantly share code, notes, and snippets.

@neilang
Created July 20, 2011 06:08
Show Gist options
  • Save neilang/1094437 to your computer and use it in GitHub Desktop.
Save neilang/1094437 to your computer and use it in GitHub Desktop.
Add git plush command
[alias]
plush = "!sh -c 'git pull --rebase && git push'"
@jcartledge
Copy link

why not:

[alias]
        push = "!sh -c 'git pull --rebase && git push'"

? Do you ever want to push without doing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment