Currently captain by default builds the current working branch, but in case of CI you might want to delegate all branch names of specific commit to the registry.
Take the following example of git commit:
abcd (HEAD, branchA, branchB) a specific commit
where branchA is the current working branch. By default it will build and push only branchA. But in case of CI it might be desired to build and push all branchnames.
This is what all_branches (-B) flag does.
-B, --all-branches=false: Build all branches on specific commit instead of just working branch
Currently captain by default builds the current working branch, but in case of CI you might want to delegate all branch names of specific commit to the registry.
Take the following example of git commit:
where branchA is the current working branch. By default it will build and push only branchA. But in case of CI it might be desired to build and push all branchnames.
This is what all_branches (-B) flag does.