0

Differences between the directName and directName/ in .gitignore.

In the .gitignore there can edit like this:

venv
venv/  

the vevn is a directory.
so what's the differences between them?

qg_java_17137
  • 3,310
  • 10
  • 41
  • 84
  • 1
    `venv/` will be treated as a folder, but `venv` will be treated a glob pattern relative to the location of the `.gitignore` file. They are not the same thing. – Tim Biegeleisen May 10 '18 at 02:22

1 Answers1

0

venv/ will basically ignore whole of the directory.

Manish
  • 909
  • 1
  • 11
  • 23