Skip to content

Branch #408

Answered by rohit32999
rooo02 asked this question in Q&A
Oct 18, 2024 · 1 comment
Discussion options

You must be logged in to vote

To create a new branch, you can use the command git branch <branch_name>. To switch to that branch, use git checkout <branch_name>. Alternatively, you can create and switch to a new branch in one command with git checkout -b <branch_name>.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rooo02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
💬 Discussion Open to further discussion and development
2 participants