Crate autorebase
source ·Functions
- Autorebase all branches in the repo containing
path
onto theonto_branch
(typically “master”). Ifslow_conflict_detection
is true it will try every commit when there is a conflict until one works. Reliably but slow. If it is false it will try to detect the first commit that causes a conflict and rebase to just before that. Way faster, but may not always work. - Return the path to the main
.git
directory for the given directory. - Utility function to get the worktree dir for the given directory.