随笔分类 - Git
摘要:https://stackoverflow.com/questions/5970879/git-rebase-error-cannot-stat-file-permission-denied 退出visual studio之后仍然不行 尝试退出everything,发现可以了。 问题分析,第一次进行
阅读全文
摘要:https://stackoverflow.com/a/41200059/3782855 https://github.com/304NotModified/Fody.Stamp .NET Revision Task for MSBuild https://stackoverflow.com/a/5
阅读全文
摘要:What's the difference between HEAD, working tree and index, in Git? Git Gud: The Working Tree, Staging Area, and Local Repo When I first started learn
阅读全文
摘要:Why are there two ways to unstage a file in Git? git rm --cached <filePath> does not unstage a file, it actually stages the removal of the file(s) fro
阅读全文
摘要:https://stackoverflow.com/a/28064699 error: add_cacheinfo failed to refresh for path 'LISA.Kentico.Upgrade/Upgrade_70_to_80/Upgrade_70_to_80/Lib/Micro
阅读全文
摘要:user.name=Chuck Luuser.email=email@domain.comcredential.helper=store 是否记住密码color.branch.upstream=green branch的upstream的颜色winupdater.recentlyseenversio
阅读全文
摘要:1.git clone 初始会有默认的master分支,并且master和origin/master自动建立了映射关系 2. git checkout -b local 创建并且切换到local分支 3. 随时都可以commit到local分支 4. 等到需要push的时候 4.1 git chec
阅读全文
摘要:优雅地进行强制推送 git push --force-with-lease 这个强制推送,仅在服务器没有新的commit的时候执行成功 删除远程分支 https://stackoverflow.com/questions/2003505/how-do-i-delete-a-git-branch-bo
阅读全文
摘要:判断子目录是否有.git文件夹 分别统计当前目录下的每一个子目录所包含的文件夹个数
阅读全文
摘要:https://stackoverflow.com/questions/6178401/how-can-i-debug-git-git-shell-related-problems git_trace=1 gcm_trace=1 git push wsl中不识别小写 GIT_TRACE=1 GCM_
阅读全文
摘要:git update-git-for-windows 配置了正确的代理,就可以通过命令行直接升级。最好是可以访问谷歌的代理,否则国内的网络通过命令行升级,下载到一半,就会失败。
阅读全文
摘要:https://learngitbranching.js.org https://github.com/pcottle/learnGitBranching no demo模式可以随便玩 https://learngitbranching.js.org/?NODEMO
阅读全文
摘要:clu@WASYGSHA01-1020 MINGW64 /d/ChuckLu/Git/Edenred/LISA_5.0.0.0 (local)$ git push origin preaction:preactionCounting objects: 3717, done.Delta compres
阅读全文
摘要:https://www.zhihu.com/question/27462267/answer/204658544 https://gist.github.com/adeekshith/cd4c95a064977cdc6c50 # <type>: (If applied, this commit wi
阅读全文
摘要:前提 本地有2个分支,一个是master,还有一个是local master 默认追踪origin/master local 通过git branch -u origin/master来映射 开发的时候,在local上,进行开发。master仅用于和remote进行同步 备注:origin只是一个r
阅读全文
摘要:git reset soft vs mixed When you want to undo a commit in Git, you can use the git reset command. This command allows you to move the current branch p
阅读全文
摘要:https://www.visualstudio.com/en-us/docs/git/gitquickstart Visual Studio查看日志 LocalHistory和Incoming是拆开成两部分的
阅读全文
摘要:Linux https://www.shellhacks.com/linux-check-change-file-encoding/ 显示 在某一个目录下,直接执行file * $ file *chucklu.autoend.js: HTML document, UTF-8 Unicode text
阅读全文
摘要:https://git-scm.com/docs/git -C <path> Run as if git was started in <path> instead of the current working directory. When multiple -C options are give
阅读全文
摘要:store 执行这个命令git config --global credential.helper store 检查命令是否成功 $ git config -l | grep credentialcredential.helper=store 参考: http://www.cnblogs.com/b
阅读全文