User Tools

Site Tools


git:git-apply-changes-in-gitignore

Differences

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

Link to this comparison view

git:git-apply-changes-in-gitignore [2021/04/06 13:36]
admin created
git:git-apply-changes-in-gitignore [2021/04/06 13:39] (current)
admin
Line 2: Line 2:
  
 After modifying .gitignore file, it may be convenient to apply this changes to the files maintained by git. First we remove the ca 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: 2021/04/06 13:39 by admin