You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the piperider compare function, you may come across the following error message:
Error: Invalid git branch: main
This is caused because PipeRider expects the name of the default/base branch to be main. This may not always be the case, and another common alternative is master.
To workaround this issue, you should create a default compare 'recipe' and specify the actual name of your default/base branch.
For instance, if your default branch is called master, you should create the following file in .piperider/compare/default.yml
Another solution, that may be more desirable, is to use the --base-branch option when running compare:
piperider compare --base-branch master
The reason is that the --select option that specifies resources actually supersedes recipes, so the following command would still default to using main branch as the base:
When using the
piperider compare
function, you may come across the following error message:This is caused because PipeRider expects the name of the default/base branch to be
main
. This may not always be the case, and another common alternative ismaster
.To workaround this issue, you should create a default compare 'recipe' and specify the actual name of your default/base branch.
For instance, if your default branch is called
master
, you should create the following file in.piperider/compare/default.yml
After creating this file, specifying the correct base branch name, you should be able run
piperider compare
The text was updated successfully, but these errors were encountered: