Gitone¶
Combine multiple git version controls steps into one command.
Introduction¶
Unlike git shell commands, gitone automatically generates commit messages with every command.
The gitone Python package consists of 8 shell commands and
functions:
camp, which stands forgit commit -amandgit push, will add and commit all changes made to tracked files and push the commit to the remote repository.acmp, which stands forgit add,git commit -mandgit push, will add and commit all changes made to all files and push the changes to the remote repository.cam, which stands forgit commit -am, will add and commit all changes made to tracked files.acm, which stands forgit add,git commit -mandgit push, will add and commit all changes made to all files.
and the --amend version of the above function:
camendamp, which stands forgit commit --amend -amandgit push --force, will overwrite the previous commit by adding and committing all changes made to tracked files and then force push the overwritten commit to the remote repository.acamendmp, which stands forgit add,git commit --amend -mandgit push --force, will overwrite the previous commit by adding and committing all changes made to all files and then force push the overwritten commit to the remote repository.camendam, which stands forgit commit --amend -am, will overwrite the previous commit by adding and committing all changes made to tracked files.acamendm, which stands forgit add,git commit --amend -m, will overwrite the previous commit by adding and committing all changes made to all files.
Installation¶
$ pip install gitone
Usage¶
No need to pass any arguments.
Just run one of available shell commands or Python functions.
>>> camp()
>>> acmp()
>>> cam()
>>> acm()
$ camp
$ acmp
$ cam
$ acm