美文网首页
idea-git使用

idea-git使用

作者: simple乐 | 来源:发表于2018-09-03 12:57 被阅读191次

- 本地仓库提交

工程右键>git>commit directory

提交本地库

- github提交到本人的仓库

工程右键>git>repository>fetch

- 恢复到历史版本

1.工程右键>local hostory 看到右键返回

image.png

2.工程右键>git>repository>reset head

image.png

- git复制命令

simple@simple MINGW64 /d/a
$ git clone git@github.com:ljtnono/blog.git

simple@simple MINGW64 /d/a
$ cd blog

simple@simple MINGW64 /d/a/blog (master)
$ git add .

simple@simple MINGW64 /d/a/blog (master)
$ git commit -m "1"

simple@simple MINGW64 /d/a/blog (master)
$ git push origin master

- fork别人的仓库

登入自己的GitHub
在地址栏输入别人的仓库地址
点击fork 即可

- 发起fork请求

标题显示在后面
内容需要鼠标放在上面

相关文章

网友评论

      本文标题:idea-git使用

      本文链接:https://www.haomeiwen.com/subject/pglbwftx.html