- install github
- auth gh for github-cli
- learn more about github
-
git init
for create empty git repository or re-initialize an existing one -
git remote add
for manage set of tracked repositories -
git add $PATH
for add file contents to index -
git commit -m
for use the given message as the commit message -
git branch -M main
for rename a branch and the corresponding reflog -
git push -u origin main
for add upstream reference for each branch that is up to date or pushed
edite >> add >> commit >> push