gitteee v1.0.0
gitty
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
Installation
$ npm install -g gitty
$ gitty COMMAND
running command...
$ gitty (-v|--version|version)
gitty/1.0.0 win32-x64 node-v12.19.0
$ gitty --help [COMMAND]
USAGE
$ gitty COMMAND
...
USAGE
$ gitty push
$ gitty push -r https://github.com/Sangeetaaaa/gitty-gitcmd-automation.git -m "Intial Commit"
OPTIONS
-m, commit message
-r, add remote
-h, --help show CLI help
DESCRIPTION
$ gitty push -r https://github.com/Sangeetaaaa/gitty-gitcmd-automation.git -m "Intial Commit"
This command will initialize git, add all your files to stagging 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 stagging area, commit it and will push to master branch
note: This command will show err if remote was not added before.
3 years ago