Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 493 Bytes

2017-01-12.md

File metadata and controls

27 lines (18 loc) · 493 Bytes

git 查漏

# 在新的目录下在当前提交下开新分支
git worktree add -b <new-branch> <path>

#
git bisect

# 当你编辑 commit 的信息的时候提示你所提交的修改
git commit −−verbose
# 配置启动该功能
git config −−global commit.verbose

#
git config --global diff.indentHeuristic true

# 在 rebase 之前自动 stash 未提交修改
git rebase master --autostash

# 展现 stash 内容的详细信息
git show stash -p

1453 days left