一、上傳項目到Coding
1、在coding上面創建一個項目helloword,記錄項目git地址
2、cmd到項目的根目錄,使用git init創建.git文件夾和.gitigonre文件
3、使用git pull <項目地址>同步項目上面的文件
4、git add * 添加項目下面的所有文件
5、 git commit -m ‘備注’ 將文件添加在cache中並添加備注
6、git remote add <倉庫名> ssh地址
7、git push -u helloword(倉庫名) master (分支名) ——推送到coding.net
二、下載項目到本地
1、新建項目文件夾helloword
2、cd hellword 進入項目文件夾
3、git init 初始化倉庫
4、git remote add helloword <項目地址> 添加關聯
5、git pull hellowrd(倉庫名) master(分支名) 下載代碼到本地
---------------------
作者:林朝昆
來源:CSDN
原文:https://blog.csdn.net/qq_23477421/article/details/70245649
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!