- To Simply view the status execute the command without any args.
$ ./igit.sh
Untracked files
ut0 - igit.sh
ut1 - git-status.txt
ut2 - test
- To add an untracked file(ut) run like this where 0 is the index from the previous command.
$./igit.sh add ut 0
Staged files
st0 - igit.sh
st1 - git-status.txt
Untracked files
ut0 - test
- To add multiple files using comma seperated method
$./igit.sh add ut 1,2,3 #Here 1, 2, 3 are the index of the files.
- To add multiple files using a range like 1..10 adds 10 files.
$./igit.sh add ut 1..10
- To view the help text simply pass the help as the arguement
$./igit.sh help