gitp is a command line tool aiming to simplify the git interface.
Concrete example: "How do I delete a remote branch?"
- git:
git push origin --delete
- gitp:
git branch delete --remote
Sometimes git feels like perl: for whatever you want to do, you need a internet search and the result is so hard to remember that you need to check it everytime you want to run it.
pip install git+https://github.com/DarkTrick/gitp.git#subdirectory=src
Note pip install gitp
will install a different (unrelated) package with a clashed name.
uninstall: pip uninstall gitp
gitp --help
- Python 3.10
git
must be installed
(No external packages are needed so far; so no venv should be necessary)
Commands are implemented in the commands
subfolder
(not maintained, yet)
cd src
python3 -m unittest
cd src
pip install .
uninstall: pip uninstall gitp
cd src
pip install build # <-- only if not yet installed
python -m build
It uses Python's subprocess
to run git commands
The following is a list possible abstract goals a software could have, and a rating how much effort is currently put into it.
- Usability: 100%
- Security: 0% (Do not run as root)