最後活躍 1715189857

kristofer's Avatar kristofer 已修改 1715189856. 還原成這個修訂版本

1 file changed, 19 insertions

note.md(檔案已創建)

@@ -0,0 +1,19 @@
1 + ### For re-doing the repo, to take into account your changes to the `.gitignore`
2 +
3 + Remove Stuff that should ignored.
4 +
5 + The series of commands below will remove all of the items from the Git Index (not from the working directory or local repo), and then updates the Git Index, while respecting git ignores. PS. Index = Cache
6 +
7 + First:
8 +
9 + ```
10 + git rm -r --cached .
11 + git add .
12 + ```
13 +
14 +
15 + Then:
16 + ```
17 + git commit -m "Remove ignored files"
18 + ```
19 +
上一頁 下一頁