Ask Your Question
4

How can a new local branch be added to the origin without indicating its name?

asked 2023-05-14 08:14:16 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-14 08:25:02 +0000

nofretete gravatar image

It is not possible to add a new local branch to the origin without indicating its name. The branch name is a required parameter when pushing a new branch to the origin. Without specifying the branch name, the command will not know which branch to push to the origin.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-14 08:14:16 +0000

Seen: 16 times

Last updated: May 14 '23