Git commands are kinda garbage so I made my own. I'll be adding more of these as I see fit.
- Fork and clone.
cd better-git-commands
- Run
chmod +x *
. - Paste the commands you need to
~/.local/bin/
. - [OPTIONAL] Add your GitHub API key. Run it while in the bin directory. Remember to replace
YOUR_API_KEY
with your actual key.
find . -name "*.sh" -type f -exec sed -i 's/^.*better_git_commands_api_key[[:space:]]*=.*$/better_git_commands_api_key=YOUR_API_KEY/' {} +
git c
:git clone
with repo size and general metadata added.