git-kit
A kit full of cli improvements to git.
zsrch file
This file could be used by any unix/linux users, but is geared towards Mac users. Here are the steps in order to use the git-kit cli shortcuts.
- Locally open your ~/.zshrc file (either CLI using vi/nano or GUI using VS Code)
- Copy the raw contents of the attached zsrch file
- Paste the contents into your local ~/.zshrc file and save it
- Refresh your cli session by sourcing the file:
source ~/.zshrc
- Now instead of doing multiple cli commands like
git add $file
and thengit commit -m '$commit message'
you can use a short cut like:addCommit $path/file '$commitMessage'
replacing the $file/path with your local file you'd like to add and $commitMessage in quotes with the commit message needed for the file.