1. 背景 由于之前加水印脚本存在问题,在对同一张图片进行加水印时,会有一定概率产生不一样md5图片,在git提交时候,就认为被修改了,从而被提交github仓库中,如此反反复复,到现在已经有11个G大小了;今天把水印脚本重写了一下,解决了上述问题,所以准备给之前垃圾提交清理了,让我博客变成一个“新库”。 2. 过程 创建并切换到孤儿分支(该分支与现有分支无关,完全独立) git
原创 2023-05-07 09:39:38
265阅读
打开shell:git commit -a然后重新在github desktop中commit & sync
原创 2022-08-05 08:18:55
66阅读
有以下三种方法可以删除 commit :1. git reset git reset :回滚到某次提交。 git reset --soft:此次提交之后修改会被退回到暂存区。 git reset --hard:此次提交之后修改不做任何保留,git status 查看工作区是没有记录。     1.1、回滚代码 如果需要删除 commit 是最新,那么可以通过
转载 2024-03-28 11:21:09
770阅读
https://code.angularjs.org/1.0.6/docs/tutorial/step_00里面提到启动web-server.js,现在这个教程以及随着版本更新而更新,这个文件已经没有了。对应1.0.6版本最后一次在github提交commitid30fcebb5d6ca44ebd84ec0db769c44ffe1ef52b8ps:如何在所有的分支及提交记录种查找某个文
原创 2018-05-29 21:20:14
785阅读
如题,如果无法commit,应该是改变了项目结构,只需要打开git shell,输入git commit -a,再重新commit即可
原创 2022-08-24 11:12:51
301阅读
命令行 在第三步 1中 选择 eval $(ssh-agent -s) 命令SSH / Generating SSH keysGenerating SSH keys mac windows linux al...
原创 2023-06-04 22:16:54
123阅读
1 github提供给用户操作和交流几个对象 commit, issue, pull request and project 2 commit and commit comment commit就是git里面的普通提交,而对于任何一次提交,都可以进行comment。 3 pull reque
转载 2017-02-25 12:05:00
242阅读
2评论
先查看提交日志 然后复制你所需要回到commit版本id(即commit 后面的字符) 本地回退 将远程库同步 说明,比如我要回滚当前这次...
原创 2022-07-13 21:36:18
211阅读
删除githubcommit历史记录起步今天小编发现了git克隆下来远程库特别大:经过查询之后发现是每次推送之后都会留下记录缓存,这样很多没用记录就会占用多余空间,别人克隆时候也会多耗费时间,今天我查到了一个清除无用记录方法。# 克隆你远程仓库git clone git@github.com:victorfengming/victorfengming.github.io...
原创 2021-08-26 09:32:32
957阅读
修改github commit 作者信息git配置详解
原创 2022-01-26 11:14:40
433阅读
修改github commit 作者信息git配置详解
原创 2021-07-08 14:08:22
963阅读
urce tree里获得:
原创 2022-04-12 15:45:21
237阅读
url格式:https://github.com/SAP/spartacus/commit/commit hash可以从source tree里获得:
Git
原创 2021-07-13 13:54:33
190阅读
commitcommit -a区别, commit -a相当于:    第一步:自动地add所有改动代码,使得所有的开发代码都列于index file中    第二步:自动地删除那些在index file中但不在工作树中文件    第三步:执行commit命令来提交对于有删除文件,可以git comm
git
原创 2013-01-10 23:35:41
1615阅读
I'm using visual studio 2019, and I'm faced with 3 options for when I commit my C# code. I need an explanation of the differences between each of the
原创 2023-10-10 11:28:49
280阅读
StackOverflow上有网友问起标题里描述问题:https://stackoverflow.com/questions/17818167/find-a-pull-request-on-github-where-a-commit-was-originally-e
Git
原创 2021-07-13 13:54:02
212阅读
StackOverflow上有网友问起标题里描述问题:https://stack
原创 2022-04-12 15:44:46
172阅读
本文介绍Idea进行Undo Commit,Revert Commit,Drop Commit区别。
原创 2022-09-04 00:06:21
4582阅读
git -- git emoji列表(github commit 前面的小icon)
git initmd testcd testgit statusgit add test //git add test/a.txtgit status git remote add origin git@github.com:dennysjchen/web.git //git@github.com:
原创 2021-07-23 14:13:24
359阅读
  • 1
  • 2
  • 3
  • 4
  • 5