Just by using $ gitty push you can save a lot of your efforts while pushing your code to github
How ?
While pushing your code to github you need to initialize git, then you probably need to add all your files to the staging area, commit it, add remote and then only you are ready to push your code.
This all can be done using only one command
$ gitty push -r https://github.com/Sangeetaaaa/gitty-gitcmd-automation.git -m "initial commit"
note: This will push your code to master branch
$ npm install -g gitty
$ gitty push -r add remote -m add commit message
...
$ gitty push
$ gitty push -r https://github.com/Sangeetaaaa/gitty-gitcmd-automation.git -m "Intial Commit"
-m, commit message
-r, add remote
-h, --help show CLI help
$ gitty push -r https://github.com/Sangeetaaaa/gitty-gitcmd-automation.git -m "Intial Commit"
This command will initialize git, add all your files to staging area, commit it with your given message, will add remote and will push your code to master branch.
$ gitty push
This command will add all your files to staging area, commit it and will push to master branch
note: This command will show err if remote was not added before.