Horje
Apply .gitignore on an existing repository Code Example
Apply .gitignore on an existing repository
First of all, commit all pending changes.
Then run this command:
git rm -r --cached .
This removes everything from the index, then just run:

git add .
Commit it:

git commit -m ".gitignore is now working"




Shell

Related
logoutn login in git Code Example logoutn login in git Code Example
append a string in all files name linux Code Example append a string in all files name linux Code Example
install Code Example install Code Example
bash cheat sheet Code Example bash cheat sheet Code Example
github.com developer Code Example github.com developer Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13