【Linux】git命令使用


clone到本地后,在文件目錄中 cmd 打開cmd命令窗口

1、查看所有分支

git branch -a

2、刪除分支

git push origin --delete liyongyan(branch-name)

3、新建分支

git branch <branch-name>

4、切換分支

git checkout <branch-name>

5、提交代碼

git commit


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM