I deleted both the local and remote branches for a particular branch
git branch -d branchName
git branch --delete --remotes origin/branchName
When I checkout out a different branch, I am still seeing the untracked/uncommitted files when I run git status
.
Those files don't have any changes that I want to keep or stage or commit. I don't want to see them sitting in the area when I run git status
on the different branch
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
I want to see this when I run git status
on any branch I checkout
On branch proj/branch/#
Your branch is up to date with 'origin/proj/branch/#'.
nothing to commit, working tree clean
Is there a way to do this, if so, how is that done?