User Tools

Site Tools


git:git-apply-changes-in-gitignore

Differences

This shows you the differences between two versions of the page.


git:git-apply-changes-in-gitignore [2023/03/31 12:17] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +Back to [[git:main-git|git main page]]
 +
 +After modifying .gitignore file, it may be convenient to apply this changes to the files maintained by git. First we remove the ca
 +<code bash>
 +git rm -r --cached .
 +</code>
 +Then you can add the files (ex; all files)
 +<code bash>
 +git add --all
 +</code>
  
git/git-apply-changes-in-gitignore.txt · Last modified: 2023/03/31 12:17 by 127.0.0.1