muse254 / git_script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS A BASH SCRIPT ON GIT(add, commit, push)

git add git commit git push

How to use the file

  • git clone the file in the directory /usr/local/bin
  • cd into the directory you want to commit files
  • To add commit and push all files; gpush 'commit message'
    • 'commit message' should be your specific commit message
  • To add commit and push one file; gpush file1 'commit message'
    • file1 is your specific file
  • To add commit and push more than one file; gpush file1 file2 ...
    • The files are the specific files you want to push to your git

About


Languages

Language:Shell 100.0%