git clone <url of your GitHub repository>
git add
git add .
(space between “add” and the period).git pull
git commit
git commit -m “First commit”
git push
git status
git log
git log
will give you a list of all commits made to a repository since its creation. In order to exit this mode, press the q
key.git stash
git init
git add
, usually in the form of git add .
so that Git knows to track all of the changes made to the project. git commit
, usually with the -m
flag and a commit message in quotesgit remote add origin <link to repository>
. git push -u origin master
. You won't have to use the additional -u origin master
flags in the future; this is just to make sure that Git associates the remote version of the repository with the local version of the repository. git clone <url of repository>
) or a Git client, like GitHub for Windows or GitKraken. If you already have the repository on your computer, run git pull
to get any outstanding changes made to the remote copy before you begin working.git add
, usually in the form git add .
in order to make Git look for all new changes made to the codegit commit
, usually with the -m
flag and a commit message in quotesgit push
git branch
git checkout
git checkout -b <name of new branch>