Uploading to git with a single line of command line code
OPTIONS
1. First , create a new empty github repository in github
2. Login into your github account in your cli
3. Then type the command in the command interface "github ...options"
follow the example below
/* github -origin http/mave/gitrepo -branch main -add . -commit "fist commit" -push */
or
/* github -o http/mave/gitrepo -b main -a . -c "fist commit" -p */
command: github
options :
-branch | -b : specify the branch to upload ,default(master)
-add | -a : add a specific folder or all folder, default(".")
-commit | -c : commit message
-origin | -o : specify git hub repository code
-push | -p : specify to push to origin or not ,if ommited the code wont be push to gihub
ASOTIBE PRINCEWILL ONYEMAECHI
[email protected]