-
Notifications
You must be signed in to change notification settings - Fork 0
/
1-intro.txt
27 lines (17 loc) · 778 Bytes
/
1-intro.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Configure Git
git config --global user.name "xyz"
git config --global user.email "[email protected]"
git config --global --edit
Initialize Git
git init
git status // check the status of all files.
Files in Git Repository Folder can be in one of 2 states:
1. Tracked: Files that Git knows about and are added to repository.
2. Untracked: files that are in working directory, but not added to repository.
Git = Working directory(or working tree) + Staging index + Repository
// help
git <command-name> -help // see all available options for specific command
git <command-name> --help // opens Git Manual page for specific command
git help --all // list all possible commands
Use Shift+G to jump to the end of the list.
Use q to exit the view.