-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,3 +213,13 @@ cherry-pick对子目录不太友好,会改变目录结构,迁移时更多选 | |
## 打包 | ||
|
||
- git archive --format zip --output path/zipfile.zip branch-name | ||
|
||
## ssh | ||
```shell | ||
sudo apt install ssh | ||
ssh-kengen -t rsa -C "[email protected]" # 生成密码,需要两次输入密钥,及密码,把生产的公钥拷贝到github上 | ||
ssh -T [email protected] # 测试生成的是否连同 | ||
mkdir repo-foloder && cd repo-folder | ||
git init | ||
git remote add origin [email protected]:Username/Repositories_Name.git # 现在这样仓库就处理好了。 | ||
``` |