text 存储更改,创建新分支,对新分支进行更改

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 存储更改,创建新分支,对新分支进行更改相关的知识,希望对你有一定的参考价值。

Save current changes to the stash
git stash


Checkout the branch where you want to apply the changes
git checkout -b <branch_name>


See the files which are modified in the stash.
git stash show


Print the stashed changes.
git stash show -p


Bring stashed changes to staged in the current branch.
git stash pop


To verify the changes are stagged to the current branch
git status

以上是关于text 存储更改,创建新分支,对新分支进行更改的主要内容,如果未能解决你的问题,请参考以下文章