Here's a quick example of how to create a Git branch from another branch in your Git repository.
Normally a developer will create a Git branch based off the branch they are currently on. Other times, the new branch will be based off another existing Git branch. This quick tutorial shows you how to do both and contrasts the two git branch creation approaches against each other.
The spoiler?
git branch new-branch-name the-other-branch-name
That's it. That's how you create a Git branch from another branch in the repository.
Негізгі бет Create a Git Branch From Another Branch
Пікірлер: 6