forked from michaelliao/learngit
-
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
1 addition
and
1 deletion.
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 |
---|---|---|
|
@@ -109,7 +109,7 @@ $ ssh-keygen -t rsa -C "[email protected]" /* 生成ssh密钥 */ | |
登录github,头像>>settings>>SSH and GPG keys>>new ssh key ,在key文本框里粘贴id_rsa.pub文件的内容。 | ||
|
||
7.2 关联远程仓库 | ||
$ git remote add origin [email protected]:<username> /* 关联远程库 */ | ||
$ git remote add origin [email protected]:<username>/learngit.git /* 关联远程库 */ | ||
$ git remote rm origin /* 删除关联 */ | ||
|
||
7.3 克隆远程库 | ||
|