筆記 git 使用

1.倉庫轉移代

git clone http://url

git push --mirror http://192.xxxxx

git clone http://192.xxxx

2.commit

git commit -m "modify"

3.push

git push origin master

4.記住git賬號和密碼

git config credential.helper store

5.比較2個不能版本, 並打包

git diff version1 version2 --name-only | xargs zip ../name.zip


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章