git bash提交代码步骤
生活随笔
收集整理的這篇文章主要介紹了
git bash提交代码步骤
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
這里寫自定義目錄標題
- 一、提交代碼
- 二、更新代碼
一、提交代碼
1、先去github創(chuàng)建一個倉庫(Repositories),得到這個倉庫地址,如:https://github.com/xxxx/htmlDemo.git
2、在要上傳的文件夾里面打開gitbash,按順序執(zhí)行
① git init
② git add .
③ git commit -m ‘備注信息’
④ git remote add origin https://github.com/xxxx/htmlDemo.git
⑤ git push -u origin master
鏈接:[link] (https://www.csdn.net/)
二、更新代碼
① git pull origin master
② git status
③ git add .
④ git commit -m ‘備注信息’
⑤ git push -u origin master
總結(jié)
以上是生活随笔為你收集整理的git bash提交代码步骤的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Camel可视化操作(结合Gooflow
- 下一篇: map与unordered_map的区别