-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit command
More file actions
25 lines (23 loc) · 831 Bytes
/
Copy pathgit command
File metadata and controls
25 lines (23 loc) · 831 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
//
****************************************
for local
****************************************
+ git clone : get repo from git sever to local dir
+ git status : check status
+ git pull: update for local branch
+ git push: push from local to server
+ git fetch:
+ git init: init .git
+ git add.: add new change to local branch
+ git commit: commit the change(-am)
+ git reset --hard: restore the last commit
+ git log: view history change in git
+ git add: add new item(dir or file) to branch local
+ git mv: change name of file or dir
+ git rm: remove file or dir
##################################
for remote git server
##################################
+
http://www-cs-students.stanford.edu/~blynn/gitmagic/intl/vi/ch02.html
http://truongminhtrung.blogspot.com/2012/09/su-dung-git-cho-lam-viec-lap-trinh-nhom.html