Ludovic Frank Gitignore

.gitignore cho Metals

4 quy tắc bỏ qua cho Metals, sẵn sàng sao chép vào kho mã của bạn.

Máy chủ ngôn ngữ Scala

Tệp .gitignore đầy đủ cho Metals

# Được tạo bởi LFGitignore - https://lfgitignore.com
# Ngày tạo: 2026-10-31 21:52:41 UTC
# Công nghệ: Metals

### Metals ###
.metals/
.bloop/
.ammonite/
metals.sbt

Các quy tắc Metals này thực sự bỏ qua những gì

Từng mẫu dưới đây và lý do nên thêm vào .gitignore.

Tham khảo: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your

Mẫu Nội dung được bỏ qua
.metals/ Tham khảo: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your
.bloop/ Tham khảo: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your
.ammonite/ Tham khảo: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your
metals.sbt Tham khảo: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your

Cách sử dụng .gitignore này cho Metals

  1. Sao chép các quy tắc Metals ở trên hoặc tải tệp trực tiếp.
  2. Tạo tệp có tên .gitignore ở thư mục gốc của kho mã Git và dán các quy tắc vào đó.
  3. Nếu Git đã theo dõi một số tệp này, hãy chạy git rm -r --cached . rồi commit lại — Git chỉ áp dụng quy tắc bỏ qua cho các tệp chưa được theo dõi.
  4. Commit tệp .gitignore để mọi người trong nhóm dùng chung các quy tắc.

Các mẫu .gitignore khác trong danh mục Công cụ

Xem mọi mẫu Công cụ