commit is script to git add + git commit + git push
$ cd
$ git clone https://github.com/Sanketwable/BashScripts.git
$ cd BashScript
$ chmod +x commit.sh
$ echo 'alias commit=source ~/BashScript/commit.sh' >>~/.bash_profile
$ source ~/.bash_profile
$ cd
$ git clone https://github.com/Sanketwable/BashScripts.git
$ cd BashScript
$ cp commit.sh ~/
$ cd ..
$ chmod +x commit.sh
$ mv commit.sh .commit.sh
$ echo 'alias commit=~/.commit.sh' >>~/.bash_profile
$ source ~/.bash_profile
$ source ~/.bashrc
$ commit -h
or
$ commit --h
or
$ commit -help
Go to repo directory:
$ commit
Enter a commit message
>> "Write commit message here"
Enter password >> ******
commit sucessfull :-)