Please enable JavaScript.
Coggle requires JavaScript to display documents.
GIT AND GITHUB - Coggle Diagram
GIT AND GITHUB
GIT
Version control system
Main Function
To detect and recall the change
of files/folder in local repository
Day 1: Project v1
Day 2: Project v2
Day 3: Project v3
If v3 cannot fix the problem we can
start again from v2
Download project form remote repository
GitHub
Provide collaborative project with the team members
Free and open source
Not a programming language
Command line
git init
git add FILENAME / . to add all file
git restore --staged FILENAME
git commit -m "message"
git status
git log
git reset --hard "log code"
touch filename
GITHUB
Online repository
Command line
git remote add origin GITHUB URL
git push -u origin master(branch name)
git clone GITHUB URL