Git VS Code Git Graph 的 drop 跟 git reset 的比較 應該是同一種東西~ 會把選取的commit刪除,並且並且還原檔案,這正是這兩者與undo的不同之處(undo 會將檔案保留commit前的狀態,所以會跟最新的commit比較,可以直接推新的commit)。雖然我現在想要undo,但是短時間找不到方法。 我應該要將 .gitignore 加進 .gitignore 裡嗎? 簡答:不該!( 來源 ) 詳答(冗答?) by GPT: No, you should not include .gitignore in the .gitignore file itself. Sharing Ignoring Rules: The .gitignore file contains rules for ignoring certain files and directories in your Git repository (like build outputs, temporary files, or system-specific files). By tracking this file in Git, you ensure that every contributor to the project has the same set of ignore rules, which helps in maintaining consistency. Collaborative Maintenance: Including .gitignore in your repository allows team members to propose or modify ignore rules collaboratively. This is particularly important in projects where new tools, dependencies, or build processes might introduce new files that should be ignored. Project Standardization: When new contributors clone the repository...