Answer the question
In order to leave comments, you need to log in
Is there a concise equivalent to chaining git commands?
git checkout master && git pull && git checkout developer && git merge master && git commit ' merge with master' && git push
Please advise.
Answer the question
In order to leave comments, you need to log in
Make an alias in .gitconfig:
[alias]
gmd = "!git checkout master && git pull && git checkout developer && git merge master && git commit ' merge with master' && git push"
git gmd
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question