git branch inside branch 1

git branch inside branch

git checkout -b newBranch branch
git push -u origin newBranch

Here is what the above code is Doing:
1. git checkout -b newBranch branch
– This creates a new branch called newBranch and switches to it.
2. git push -u origin newBranch
– This pushes the newBranch to the remote repository and sets the upstream.

Similar Posts