Git的remote
生活随笔
收集整理的這篇文章主要介紹了
Git的remote
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
git remote
列出所有的遠程主機名字 這個顯示的默認的origin
git remote -v
列出遠程庫的地址
git clone -o 遠程庫的自定義名字? 遠程庫的地址
git clone -o jQuery https://github.com/jquery/jquery.gitgit remote show? 名字
查看遠程庫的信息$ git remote show origin * remote originFetch URL: https://github.com/7117/CodePracticePush URL: https://github.com/7117/CodePracticeHEAD branch: masterRemote branch:master trackedLocal branches configured for 'git pull':master merges with remote mastersunx merges with remote masterLocal ref configured for 'git push':master pushes to master (up to date)git remote add <主機名> <網址>
? ? ? ?添加遠程主機吧,名字既作用,哈哈哈哈!!!
git remote rm?命令用于刪除遠程主機
git remote rename <原主機名> <新主機名>
?
?
總結
以上是生活随笔為你收集整理的Git的remote的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 中国reits基金怎么购买
- 下一篇: 飞猪环球卡有什么优惠