You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

873 B

任务

git clone https://code.kfcoding.com/liuchangfreeman/gitcourse-guide使用命令拉取本课程的项目文件。

cd gitcourse-guide使用命令进入示例目录。

这是一个已经初始化完毕的示例gitcouse项目,下面我们将学习如何将其发布到代码托管平台上。

git remote rm origin使用命令删除已存在的远程仓库地址。

git remote add origin git@github.com:gitcourse-sample/gitcourse-guide.git命令使用将远程仓库地址设置为https://github.com/gitcourse-sample/gitcourse-guide

git push -u -f origin master使用命令将代码上传到github仓库中。

专家提示

免密码登录github需要将系统的ssh-key绑定到账号中,在本示例中这一步骤已预完成,具体教程请参考 如何绑定ssh-key到github账号