Skip to content

nickpyett/gitish.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

gitish.sh

Bash script to add aliases to your command line for git.

© Nick Pyett 2024

Installation with Bash Aliases

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

Alliases and Commands

adda

Equivalent of git add -A.

Add all files in the working tree to the index.

addn

Usage: addn

Equivalent of git add filename-of-updated-file.example.

Adds a file to the index by number from stsn.

Arguments

n

The number of the file that has differences to git head as shown in the stsn command.

About

Bash script to add tools to your command line for git

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages