“Git Crie ramo com confirmação específica” Respostas de código

Git Crie ramo com confirmação específica

 
# Create a new branch from previous commit's hash
git branch develop 04c900c
 
# Push the new branch to remote repository
git push --set-upstream origin develop
 
# Checkout the new branch
git checkout develop
 
Lucky Ladybird

git ramo de comprometimento

You can create the branch via a hash:

git branch branchname <sha1-of-commit>
Or by using a symbolic reference:

git branch branchname HEAD~3
To checkout the branch when creating it, use

git checkout -b branchname <sha1-of-commit or HEAD~3>
Frightened Fox

Respostas semelhantes a “Git Crie ramo com confirmação específica”

Perguntas semelhantes a “Git Crie ramo com confirmação específica”

Mais respostas relacionadas para “Git Crie ramo com confirmação específica” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código