git untracked content 1

git untracked content

// First
git rm -rf --cached myuntrackedfolder

// Then
git add myuntrackedfolder

Here is what the above code is Doing:
1. git rm -rf –cached myuntrackedfolder: This command removes the folder from the index.
2. git add myuntrackedfolder: This command adds the folder to the index.

Similar Posts