When we code, we need some sort of system to manage the versioning for a team to be able to work on it synchronously and properly. Here, we will be talking about git, one of the most used VCS for source code.
3. download installer from https://git-scm.com/downloads
download from https://www.syntevo.com/smartgit/download/archive
or https://www.sourcetreeapp.com
git setup
git client setup
5. git in a nutshell
an implementation of Distributed VCS
created by Linus Torvalds in 2005
open source
supports non-linear development
git
6. Version Control System (VCS)
Backup & History
preserve working product
Collaborate
work in parallel with your team
Branch
able to maintain existing releases while working on
new features
14. command description
git clone url [dir] copy a git repository from remote
git add file adds file contents to the staging area
git commit record a snapshot of the staging area
git status view status of your files in the working directory and staging area
git diff shows diff of what is staged and what is modified but unstaged
git help [command] get information on particular command
git pull fetch from a remote repo and try to merge new commits into the current branch
git push push your new branches and data to a remote repository
others: init, reset, branch, checkout, merge, log, tag
git commands