When set to true, automatically create a temporary stash entry before the operation begins, and apply it after the operation ends. This means that you can run rebase on a dirty worktree. However, use with care: the final stash application after a successful rebase might result in non-trivial...
暂存区(stage):存放在 .git 目录下下的 index 文件(.git/index)中,所以我们把暂存区有时也叫作索引(index) 默认的远程版本库(origin):尽管 Git 是分布式的,但它不排斥中心服务器 工作区、版本库中的暂存区和版本库,以及远程库之间的关系如下: 图中我们可以看出此时 “HEAD” 实际是指向 master 分支的一个...
Using dirty ignores all changes to the work tree of submodules, only changes to the commits stored in the superproject are shown (this was the behavior until 1.7.0). Using all hides all changes to submodules. --src-prefix=<prefix> Show the given source <prefix> instead of "a/". -...
docker_build_hashref.sh - runs docker build and auto-generates docker image name and tag from relative Git path and commit short SHA hashref and a dirty sha suffix if git contents are modified. Useful to compare docker image sizes between your clean and modified versions of Dockerfile or cont...
In either case, it’s a note that you need to git update-index it to make the index be in sync. Note You can have a mixture of files show up as "has been updated" and "is still dirty in the working directory" together. You can always tell which file is in which state, since...
An object used to temporarily store the contents of a dirty working directory and the index for future reuse. submodule A repository that holds the history of a separate project inside another repository (the latter of which is called superproject). superproject A repository that references...
比较工作树中的文件和索引。当指定路径时,只比较那些命名的路径。否则,将比较索引中的所有条目。输出格式是一样的git diff-index和git diff-tree。 选项 -p -u --patch 生成补丁(请参阅生成补丁一节)。 -s --no-patch 抑制差异输出。对于像git show这样的命令很有用,默认显示补丁,或者取消--patch效果。
It can also remember which files were dirty on the previous run and check them first on the next run to avoid the scan entirely if the files are still dirty. However, the benchmarks above were performed in a clean repository where these shortcuts do not trigger. All benchmarked tools ...
* The code that gives an error message in "git multi-pack-index" when no subcommand is given tried to print a NULL pointer as a strong, which has been corrected. (merge 88617d11f9 tb/reverse-midx later to maint). * CI update. ...
git $diff_cmd $cached --ignore-submodules=dirty --raw $head -- $modules | sane_egrep '^:([0-7]* )?160000' | cut -c2- | while read -r mod_src mod_dst sha1_src sha1_dst status name do if test -z "$cached" && ...