Bash script to add aliases to your command line for git.
© Nick Pyett 2024
Clone the repo and add support for the gitish.sh commands and aliases to your terminal. This will add source commands to your ~/.bashrc
file; amend the command to add to a different bash profile file.
# git clone https://github.com/nickpyett/gitish.sh.git
# echo -en "\n# gitish.sh\nsource $(pwd)/gitish.sh/gitish.sh\nsource $(pwd)/gitish.sh/aliases.sh\n" >> ~/.bashrc
Equivalent of git add -A
.
Add all files in the working tree to the index.
Usage: addn
Equivalent of git add filename-of-updated-file.example
.
Adds a file to the index by number from stsn
.
The number of the file that has differences to git head as shown in the stsn
command.