Crate autorebase

Source

Functions§

autorebase
Autorebase all branches in the repo containing path onto the onto_branch (typically “master”). If slow_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.
get_git_common_dir
Return the path to the main .git directory for the given directory.
get_worktree_path
Utility function to get the worktree dir for the given directory.