-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub.txt
More file actions
66 lines (29 loc) · 832 Bytes
/
github.txt
File metadata and controls
66 lines (29 loc) · 832 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
git clone xxx.git
# git clone -b XXX xxx.git
本地修改或者添加内容
git add *
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
git config --global push.default matching
git commit -m neirong
git push
每次本地改动后,就需要执行:
git add .
git commit -m "Add something to test git function"
git push
git pull
git fetch
git merge
git fetch
git merge origin/master
git push
git remote add origin https://github.com/doggy8088/sandbox-empty2.git
git remote add upstream https://github.com/doggy8088/sandbox-empty2.git
git remote add jquery https://github.com/jquery/jquery.git
git remote -v
git fetch
nano .git\config
git pull <remote> <branch>
git branch --set-upstream-to=origin/<branch> smtp
git remote -v
git push origin FixForCRLF