-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathdarren.txt
More file actions
35 lines (25 loc) · 692 Bytes
/
darren.txt
File metadata and controls
35 lines (25 loc) · 692 Bytes
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
28
29
30
31
32
33
34
35
git init
initialize new repository
git add
put a file/directory into the staging area
git commit
put files in the staging area to the git repository
git log
output a list of commits (newest first)
git status
output the current status of the files in the wokring area
git diff
difference between Staging Area and Working Directory
git clone
create a local copy of the remote repository in your computer
*** Definition ****
local repository
the repository on your computer
remote repository
the repository on github
*** Arguments ***
-A: all
. stages new and modifiied, without deleted
-u stages modified and deleted, without new
-m: message
--oneline: output in one line