shuixx
做最好的自己
Toggle navigation
shuixx
Home
About Me
Archives
Tags
git初始提交
2018-07-21 11:44:25
113
0
0
shuixinxing
###从命令行创建一个新的仓库 ``` touch README.md git init git add README.md git commit -m "first commit" git remote add origin https://git.shuixx.com/shuixx/demo.git git push -u origin master ``` ###从命令行推送已经创建的仓库 ``` git remote add origin https://git.shuixx.com/shuixx/demo.git git push -u origin master ``` git无法pull仓库refusing to merge unrelated histories --allow-unrelated-histories ``` git pull origin master --allow-unrelated-histor ```
Pre:
Maven常用命令
Next: No Post
0
likes
113
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Submit
Sign in
to leave a comment.
No Leanote account?
Sign up now.
0
comments
More...
Table of content
No Leanote account? Sign up now.