日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

克隆远程仓库#180804

發布時間:2024/3/12 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 克隆远程仓库#180804 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

2019獨角獸企業重金招聘Python工程師標準>>>

克隆倉庫

[root@localhost test]# cd /home/ [root@localhost home]# git clone git@github.com:aminglinux/lanmp.git Cloning into 'lanmp'... Warning: Permanently added the RSA host key for IP address '13.229.188.59' to the list of known hosts. remote: Counting objects: 32, done. remote: Total 32 (delta 0), reused 0 (delta 0), pack-reused 32 Receiving objects: 100% (32/32), 5.99 KiB | 0 bytes/s, done. Resolving deltas: 100% (6/6), done.[root@localhost home]# cd lanmp/ [root@localhost lanmp]# ls -l total 20 -rw-r--r--. 1 root root 14871 Aug 3 15:40 lanmp.sh -rw-r--r--. 1 root root 88 Aug 3 15:40 README.md [root@localhost lanmp]# vi README.md 刪除某一行[root@localhost lanmp]# git add README.md [root@localhost lanmp]# git commit -m "change readme.md" [master 614a4cf] change readme.mdCommitter: root <root@localhost.localdomain> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly:git config --global user.name "Your Name"git config --global user.email you@example.comAfter doing this, you may fix the identity used for this commit with:git commit --amend --reset-author1 file changed, 1 deletion(-)[root@localhost lanmp]# git push warning: push.default is unset; its implicit value is changing in Git 2.0 from 'matching' to 'simple'. To squelch this message and maintain the current behavior after the default changes, use:git config --global push.default matchingTo squelch this message and adopt the new behavior now, use:git config --global push.default simpleSee 'git help config' and search for 'push.default' for further information. (the 'simple' mode was introduced in Git 1.7.11. Use the similar mode 'current' instead of 'simple' if you sometimes use older versions of Git)Warning: Permanently added the RSA host key for IP address '52.74.223.119' to the list of known hosts. ERROR: Permission to aminglinux/lanmp.git denied to hellopasswd. fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.> 這里為需要密鑰才可以與服務端同步

使用git pull為更新庫

[root@localhost lanmp]# git pull Already up-to-date. #已經最新的

轉載于:https://my.oschina.net/hellopasswd/blog/1922437

總結

以上是生活随笔為你收集整理的克隆远程仓库#180804的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。