美文网首页
Ubuntu Github repo

Ubuntu Github repo

作者: Chao已被使用 | 来源:发表于2021-03-09 03:36 被阅读0次

1. cd to your forlder

cd /yourfolder/

2. check git information

git checkout -b branch_name # use -b to add a new branch
git branch # check branch info under this repo

switch branch

git checkout branch_name

3. update the file

git add file_name # update a file
git add . # update a folder

4. commit the update

git commit -m "comment_here"

5. push the update

git push -u origin branch_name

相关文章

网友评论

      本文标题:Ubuntu Github repo

      本文链接:https://www.haomeiwen.com/subject/nrxmqltx.html