共 4 篇文章 |
|
TortoiseSVN的安装与使用TortoiseSVN的安装与应用1、安装。新建空文件夹,空白处鼠标右键->SVN检出,弹出检出页面,填写版本库URL或者点击旁边的按钮进入版本库浏览器选择要检出的目录。要添加新的文件时,先正常新建文件或者文件夹,此时的文件和文件夹的图标是没有绿色的勾或者红色的感叹号的,表示此文件还没有加入到版本管理中。在需要... 阅292 转2 评0 公众公开 18-12-10 11:11 |
只是修改了文件,没有任何 git 操作修改了文件,并提交到暂存区(即编辑之后,$ git add 但没有 $ git commit -m ....)修改了文件,并提交到仓库区(即编辑之后,$ git add 和 $ git commit -m ....)情况I:$ git log --oneline # 可以省略$ git reset HEAD # 回退到当前版本$ git checkout -- aaa.txt # aaa.txt为文件名 情况III:对于 情况... 阅64 转0 评0 公众公开 18-09-26 16:55 |
$ git statusOn branch masterInitial commitUntracked files: (use "git add ..."to include in what will be committed)hello.txt.1.链接远端仓库 - git remote add.$ git diff 09bd8cc..ba25c0ffdiff --git a/feature.txt b/feature.txtnew file mode 100644index 0000000..e69de29diff --git a/hello.txt b/hello.txtindex e69de... 阅115 转0 评0 公众公开 16-06-29 18:11 |
$ git status -s M hello.rb$ git add hello.rb $ git status -sM hello.rb$ git diff$$ git remoteorigin$ git remote -vorigingit@github.com:github/git-reference.git (fetch)origingit@github.com:github/git-reference.git (push)$ git remote$ git remote add github git@github.com:schacon/hw.git$ git remote -vgithubgit@github.com... 阅86 转2 评0 公众公开 15-08-25 14:52 |