Skip to content

Commit 63b1a9f

Browse files
committed
添加 git
1 parent 04cabf3 commit 63b1a9f

7 files changed

+4
-7
lines changed

git.sketch

7.97 MB
Binary file not shown.

学习导图/基本功/Git.xmind

183 KB
Binary file not shown.

学习导图/基本功/TCP:IP.xmind

347 KB
Binary file not shown.
File renamed without changes.

常见问题.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55
- Enter passphrase for key /root/.ssh/id_rsa.pub 输入私钥
66

77
本地执行
8-
1. eval `ssh-agent`
9-
2. ssh-add
10-
- `git add dir/*` 把目录dir下的所有文件提交到暂存区
11-
- `git commit -m "信息"` 提交修改文件及修改信息
12-
- `git commit --amend -m "message"` 重置上一次提交信息
13-
- `git push` 将暂存区内容提交到远程库
14-
- `git push origin branchname` 提交到指定分支
8+
1. eval `ssh-agent` 用于管理密码
9+
2. ssh-add 将密码加到 ssh-agent
10+
3. 将两个命令 加入 ~/.bash_profile ,不必每次输入密码
11+
1512

1613

1714

0 commit comments

Comments
 (0)