随笔分类 -  Git

摘要:Git Submodules vs Git Subtrees Subtrees vs Submodules The simplest way to think of subtrees and submodules is that a subtree is a copy of a repository 阅读全文
posted @ 2020-06-02 13:53 ChuckLu 阅读(427) 评论(0) 推荐(0) 编辑
摘要:Can I disable git pull? I guess the problems you refer to are merge conflicts that may happen if your local branch diverged from the remote. In that c 阅读全文
posted @ 2020-05-26 13:57 ChuckLu 阅读(293) 评论(0) 推荐(0) 编辑
摘要:1.put the file under %userprofile% .git_commit_template.txt [Fix] [Refactor] [Reformat] 2. git config --global commit.template ~/.git_commit_template. 阅读全文
posted @ 2020-05-08 16:39 ChuckLu 阅读(209) 评论(0) 推荐(0) 编辑
摘要:git switch branch Git 2.23 came up with the new ‘ git switch ’ command, which is not a new feature but an additional command to ‘switch/change branch’ 阅读全文
posted @ 2020-05-07 14:30 ChuckLu 阅读(880) 评论(0) 推荐(0) 编辑
摘要:Linux/Unix man page syntax conventions In man pages I come across various syntaxes to write Linux/Unix commands, which include square brackets, angula 阅读全文
posted @ 2020-05-05 15:34 ChuckLu 阅读(599) 评论(0) 推荐(0) 编辑
摘要:Create 1.mkdir Connect_Backend_Database 2. cd Connect_Backend_Database 3. git clone url main 4. cd main 5. git worktree add -b v5 ../v5 origin/v5 6. g 阅读全文
posted @ 2020-04-30 14:26 ChuckLu 阅读(807) 评论(0) 推荐(0) 编辑
摘要:What would I use git-worktree for? I read Github's post on git-worktree. They write: Suppose you're working in a Git repository on a branch called fea 阅读全文
posted @ 2020-04-30 13:41 ChuckLu 阅读(404) 评论(0) 推荐(0) 编辑
摘要:Git Worktree:你从未听说过的最好的 Git 功能(英文) Git Worktrees: The Best Git Feature You’ve Never Heard Of 这篇文章简单介绍了 git worktree 功能,也就是让一个代码库的两个分支同时都可以访问的功能。 https 阅读全文
posted @ 2020-04-30 13:16 ChuckLu 阅读(283) 评论(0) 推荐(0) 编辑
摘要:What does poc mean in project management? In project management, POC stands for "Proof of Concept." It is a prototype or early version of a product or 阅读全文
posted @ 2020-04-15 23:00 ChuckLu 阅读(275) 评论(0) 推荐(0) 编辑
摘要:How to undo a git merge squash? If you run git merge --squash <other-branch> the working tree and index are updated with what the result of the merge 阅读全文
posted @ 2020-03-31 17:22 ChuckLu 阅读(194) 评论(0) 推荐(0) 编辑
摘要:Git does not apply deleted files when merging an old branch into the master. How can I tell Git to apply deleted files? The only way I can fathom this 阅读全文
posted @ 2020-03-23 16:09 ChuckLu 阅读(218) 评论(0) 推荐(0) 编辑
摘要:How to get the parents of a merge commit in git? git rev-list --parents -n 1 uk-645ec1aaab4714f7b47136e1e43744a70fc11a9f0 【the id of current commit】 f 阅读全文
posted @ 2020-03-23 15:50 ChuckLu 阅读(319) 评论(0) 推荐(0) 编辑
摘要:Git rename from index.lock to index failed In my case, this was caused by using the same Git repo from both admin and non-admin command prompts. When 阅读全文
posted @ 2020-01-20 10:33 ChuckLu 阅读(3140) 评论(0) 推荐(0) 编辑
摘要:Updates to the Git Commit Graph Feature Finally, the most immediately-visible improvement is the time it takes to sort commits by topological order. T 阅读全文
posted @ 2020-01-09 11:02 ChuckLu 阅读(195) 评论(0) 推荐(0) 编辑
摘要:https://github.blog/2019-11-03-highlights-from-git-2-24/#alternative-history-rewriting-tools https://github.com/newren/git-filter-repo $ git filter-br 阅读全文
posted @ 2019-12-23 10:03 ChuckLu 阅读(1583) 评论(0) 推荐(0) 编辑
摘要:Git push branch from one remote to another? A quick test making some temporary repositories shows you can construct a refspec that can do this: $ git 阅读全文
posted @ 2019-10-14 10:30 ChuckLu 阅读(324) 评论(0) 推荐(0) 编辑
摘要:https://github.com/dahlbyk/posh-git#step-2-import-posh-git-from-your-powershell-profile $profile.AllUsersCurrentHost C:\Program Files\PowerShell\7-pre 阅读全文
posted @ 2019-09-29 10:06 ChuckLu 阅读(1592) 评论(0) 推荐(0) 编辑
摘要:How to handle git gc fatal: bad object refs/remotes/origin/HEAD error: failed to run repack I randomly hit list today while trying to garbage collect. 阅读全文
posted @ 2019-09-11 12:41 ChuckLu 阅读(3160) 评论(0) 推荐(0) 编辑
摘要:https://www.atlassian.com/git/tutorials/git-gc The git gc command is a repository maintenance command. The "gc" stands for garbage collection. Executi 阅读全文
posted @ 2019-09-11 12:33 ChuckLu 阅读(380) 评论(0) 推荐(0) 编辑
摘要:https://github.com/ViRb3/de4dot-cex/blob/master/.gitmodules git submodule sync command - what is it for? Git stores information about submodules in tw 阅读全文
posted @ 2019-09-06 18:18 ChuckLu 阅读(357) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示