Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Beginners Guide to Git
- ## Intro to Git
- **Git** functions as a *Version Control System*. Meaning it allows you to control each version of your project as you develop it.
- **Git** allows you to:
- * Collaborate on your project with other people
- * Keep track of changes that are made
- * Refer to previous versions of your project
- * Create separate branches of your project
- ## Controls in Git
- 1. `git init` (prepare for tracking)
- 2. `git add` (start tracking file)
- 3. `git commit` (save)
- 4. `git status` (get the status of what git is tracking)
- 5. `git diff` (see what changes have happened since last commit)
- Example of `git status`:
- Jonathans-Mac:mod0resources jonpatterson$ git status
- On branch master
- Your branch is up to date with 'origin/master'.
- nothing to commit, working tree clean
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement