2023-06-04

Behavior of `git push --force` when no upstream branch exists

What's the behavior of git push --force when no upstream branch exists?

Will I get something like fatal: The current branch branch_name has no upstream branch, as would happen with a normal push, or would the upstream branch be "forcefully" created?



No comments:

Post a Comment