Let's Git it!
Section covering version control systems, github and basic git commands
Objective:
Learn about the Git versioning control system
Practice git commands
Slides
Quiz
Challenge
Follow this walkthrough to learn how to:
Useful Git Commands
add changes
commit changes
push to remote
git add <filename>
or
git commit -m "example message"
git push origin master
git add .
(to add all changes)
store git credentials
git config credential.helper store
Note that nothing will appear, however next time you push and are prompted to enter your credentials they will be stored and you will no longer be prompted for them.
Alternatively you can use the following set of commands :
git config --global user.name "your username"
git config --global user.password "your password"
git config --global user.email "your email(used for github)"
Last updated