Skip to content

Instantly share code, notes, and snippets.

@joelpittet
Created February 27, 2014 07:38
Show Gist options
  • Select an option

  • Save joelpittet/9245960 to your computer and use it in GitHub Desktop.

Select an option

Save joelpittet/9245960 to your computer and use it in GitHub Desktop.
git pastings
alias cap='curl `pbpaste` | git apply -v'
alias cape='curl `pbpaste` | git apply -v --index'
alias capp='curl `pbpaste` | patch -p1'
alias capv='curl `pbpaste` | patch -p1 --dry-run'
alias carp='curl `pbpaste` | git apply -Rv'
alias carpe='curl `pbpaste` | git apply -Rv --index'
alias cav='curl `pbpaste` | git apply -v --check'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment