another directory • Common, simple and may result for errors • Centralized Version Control (CVS) • Collaboration with others • All files are on a single server (central place) that clients access • If server is down, we have problems • Distributed Version Control Systems (DVCS) • Your local files are mirrored to the server • If server dies, you can continue with your work • Git is a DVCS
using git • Owned by Microsoft • Offers free plans and pro and enterprise accounts • Offers unlimited private repositories to all plans, including free accounts
is a storage location for software packages. • It is like a floder for you project • Contains all of your project's files and stores each file's revision history • You can share ownership of repository to other people
branch is up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) shopping-list.txt nothing added to commit but untracked files present (use "git add" to track) The new file is untracked!
Your branch is up to date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: shopping-list.txt Let's add tracking to the new file The state is now staged (ready for commited)
up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) App.class App.java nothing added to commit but untracked files present (use "git add" to track) Do not track classes!
up to date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) .gitignore App.java nothing added to commit but untracked files present (use "git add" to track)
master Your branch is up to date with 'origin/master'. Changes to be committed: (use "git reset HEAD <file>..." to unstage) new file: .gitignore new file: App.java