“Git Move muda para nova filial” Respostas de código

Como mover mudanças não agendadas para uma filial diferente

git stash
git checkout -b new-branch
git stash pop
Mohan Munna

Git Move muda para nova filial

git switch -c <new-branch>
chuksokwuenu

git traga suas alterações para uma nova filial

git checkout -b <new-branch>
// This will leave your current branch as it is, create and checkout a new branch and keep all your changes. You can then stage changes in files to commit with:

git add <files>
//and commit to your new branch with:

git commit -m "<Brief description of this commit>"
Enthusiastic Earthworm

Respostas semelhantes a “Git Move muda para nova filial”

Perguntas semelhantes a “Git Move muda para nova filial”

Mais respostas relacionadas para “Git Move muda para nova filial” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código