More Related Content
Similar to Git source control guide for beginners
Similar to Git source control guide for beginners (20)
Git source control guide for beginners
- 3. git is a Source Control
Management application
It keeps track of your code!
- 12. Step 1: Install git
http://git-scm.com/book/en/Getting-Started-Installing-Git
- 15. Step 3: Get it set up
http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup
- 20. git add .
Adds file . to the staging area
( . means current folder and all files inside )
- 21. git commit –m ‘initial commit’
Commits files added to staging area
( -m adds commit message )
- 27. Branching encourages
a few things
Frictionless Context Switching
Feature Based Workflow
Disposable Experimentation
http://git-scm.com/about
- 40. Two basic actions
git push git pull
Pushes changes to Pulls changes from
remote repo remote repo
- 45. Submodules!
Submodules allow you to keep separate
sections of your code under source control
( repos within repos )
- 46. git submodule add
repository
path/to/location
Adds submodule located at repository to
path/to/location within project