This is actually the best! Thank you so much!
One question, though: with the aliases, is their anyway to make it so that it accepts terms? i.e. I want to make it so I can do $ git c "commit message", and it'll action that as $ git commit -m "commit message". Is that possible?
$ git c "commit message"
$ git commit -m "commit message"
You are welcome :)
Aliases are really just a search and replace. So you can do
git config --global alias.cm "commit -m"
git cm "My commit message"
will be replaced with
git commit -m "My commit message"
Ah, gotcha! Thank you so much again!
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.