Skip to content

Sangeetaaaa/gitty-gitcmd-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 push -r add remote -m add commit message

...

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 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published