This is my very first repository with the Kekambas-137 Cohort!
git init
to create a new repositorygit add <file name>
ORgit add .
to add files to staged changesgit commit -m "YOUR MESSAGE HERE"
to commit (or take a snapshot)git remote add <remote_name> <remote_url>
to add remote conenction to GitHub<remote_name
will usually beorgin
remote_url
is the URL to GitHub repository
git push <remote_name> <branch_name>
to send commits to GitHub -<remote_name>
will usually beorgin
-<branch_name
> will usually bemain
-can add-u
flag to set up tracking- To Create a new branch use 'git checkout -b <
new_branch_name
> -usegit checkout <branch name
to switch between branches -usegit checkout
to get a list of existing branches