[pbs-devel] [PATCH proxmox-backup] gitignore: add target/ in sub-directories

Stefan Hanreich s.hanreich at proxmox.com
Fri Jan 12 11:23:36 CET 2024


I think a single line containing `target/` would be sufficient - if I'm
not mistaken. At least that works for me with the following setup:

$ tree
.
├── foo
│   └── bar
│       ├── somefile
│       └── target
│           └── somefile
└── target

5 directories, 2 files


$ cat .gitignore
target/


$ git status
On branch master
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        new file:   foo/bar/somefile




More information about the pbs-devel mailing list