From: Rustom Mody
Context is we're using git for collectively editing documents(mostly text ie
not Word etc).
Sharing is on bitbucket.
There are also largish reference-docs -- downloaded pdfs etc that are
referenced but not ours -- dont want these in the repo.
If I make a .gitignore that contains the 'downloads' directory, then the
contents of downloads is of course ignored but also downloads itself.
Making .gitignore contain downloads/* does not add downloads.
Finally I added a dummy-file to downloads; add-commited it and then ignored
Seems convoluted and unsure (to me).
Is there a better way?
The other alternative is to make that 'downloads' directory a sub-module, i.e.
an independent reference repository. That way, they (users) only neeed to get
it once and it stays valid, and it isn't part of the main repo.
As long as the reference is glacial, then the 'hassles' that some report for
the confusions when using sub-modules essentially go away.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.