我删除了特定分支的本地和远程分支
git branch -d branchName
git branch --delete --remotes origin/branchName
当我签出一个不同的分支时,当我运行git status
.
这些文件没有我想要保留、暂存或提交的任何更改。git status
当我在不同的分支上跑步时,我不想看到他们坐在该区域
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: ../../../../path/to/folder/file.html
modified: ../../../../path/to/folder/file.js
git status
当我在结帐的任何分支上运行时,我想看到这个
On branch proj/branch/#
Your branch is up to date with 'origin/proj/branch/#'.
nothing to commit, working tree clean
有没有办法做到这一点,如果是这样,那是如何做到的?