diff --git a/home/common/default.nix b/home/common/default.nix index f9c7404..d133a95 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -241,7 +241,7 @@ context = "global"; command = '' git push --force-with-lease --set-upstream origin "{{.SelectedLocalBranch.Name}}" && - gh pr create --title "{{.SelectedLocalBranch.Name}}" --fill || + gh pr create --title "{{.SelectedLocalBranch.Name}}" -B "$(git config get init.defaultBranch)" --fill || (git log --reverse --no-merges --pretty='- %s' master..HEAD | gh pr edit --body-file -); gh pr view --web '';