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: | ||
+ | |||
+ | 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 . | ||
+ | </ | ||
+ | Then you can add the files (ex; all files) | ||
+ | <code bash> | ||
+ | git add --all | ||
+ | </ | ||
git/git-apply-changes-in-gitignore.txt · Last modified: 2023/03/31 12:17 by 127.0.0.1