Skip to content

Commit 1245fb8

Browse files
author
sslinux
committed
github
1 parent 0a4a329 commit 1245fb8

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Modules/paramiko.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
# paramiko模块
22

3+
github添加密钥后,配置如下:
4+
```python
5+
sslinux@sslinux-py2go:/media/sslinux/Disk-Study/magePython/PPT/MagePython$ cat .git/config
6+
[core]
7+
repositoryformatversion = 0
8+
filemode = false
9+
bare = false
10+
logallrefupdates = true
11+
[remote "origin"]
12+
url = git@github.com:sslinux/MagePython.git #主要是这里;
13+
fetch = +refs/heads/*:refs/remotes/origin/*
14+
[branch "master"]
15+
remote = origin
16+
merge = refs/heads/master
17+
```
18+
19+
即可不必输入用户名和密码进行push了;

0 commit comments

Comments
 (0)