0

Is it possible to do the following:

I want to run the following:

push 'foo'

I need execute:

git commit -m 'foo' && git push origin master && cap production deploy
Ricardo
  • 159
  • 1
  • 2
  • 9

1 Answers1

1

You could use a shell function instead of an alias:

push() {
    git commit -m "$1" && git push origin master && cap production deploy
}
redneb
  • 21,794
  • 6
  • 42
  • 54