Please enable JavaScript.
Coggle requires JavaScript to display documents.
Introduction - Coggle Diagram
Introduction
Key
Concepts
remote repository (github)
master branch
GIT
is a source control system
3 states
of GIT ~ local Git repository
staging area -
pre-commit holding area
is a holding area for queueing up changes for the next commit (xep hang)
commit - git
repository (history)
contains all changes are finalized & permanently part of git repository
working
directory
files may/may not be managed by GIT
there is a hidden folder called .git - contains the actual git repository
is the directory/folder on your computer that holds all the project/application files
Practice
configuration
git config --global user.name "Your Name"
the same with user.email
confirm that configuration: git config --global --list
create
a file
echo "Content of file" >> file_name.txt
mkdir abc: create abc folder
cat file_name.txt: display file content
pwd: where standing on computer
git add file_name.txt
git commit -m "commit message"