-
Notifications
You must be signed in to change notification settings - Fork 1
Git Tutorial
Nick Speer edited this page May 29, 2020
·
2 revisions
git clone <repo-url>
git clone https://github.com/ucfai/smash-bros
# create a new branch and switch to it
git branch <branch-name>
git checkout <branch-name>
# or in one line
git checkout -b <branch-name>
# add files you are working on
git add <file>
# commit the changes
git commit -m "<message>"
git push orgin <branch-name>
if orgin is undefined, set it with this command, then push
git remote add orgin <url>