The command which I use the most in git are:
git add -A
git commit -a -m "blah blah blah"
git push
So I made an alias of the second command using the command:
git config --global alias.dc 'commit -a -m '
And now in place of second command I can directly write:
git dc "blah blah blah"
It works in command prompt, power shell, git bash, etc. everywhere.
What I want is when I write git dc "blah blah blah" I want all three command mentioned above to be executed.
How can I achieve this?
Note that I want it to be executed globally, not only in git bash.