git 代碼

克隆: git clone 倉庫鏈接 添加到暫存區: git add . 提交到本地倉庫: git commit -m ‘第n次提交’ 提交到遠程倉庫: git push 從遠程倉庫拉取: git pull 查詢版本號: git branch 回退版本號: git reset --hard 版本號 git reset --hard HEAD^ (^代表回退幾個版本) git reset --har
相關文章
相關標籤/搜索