-
Notifications
You must be signed in to change notification settings - Fork 1
A Working Introduction to git
git add remote origin https://github.com/SBoulanger/NotFlix.git
- Add this repository as a remote
git pull origin master
- pull the master branch from github
git pull origin develop
- pull the develop branch from github
git checkout origin develop
- make your project mirror the develop branch
git checkout -b <your new branch's name>
- make a new branch (after this is where you should be editing code)
git status
- check which files will be committed next time you commit
git branch
- check what branch you are looking at or working on
git branch --all
- list all branches in your local repository
git commit -m "replace this message with your commit message"
- add a new commit to your branch you are on
Branching:
git checkout develop
git checkout -b <new branch name>
git pull