-
The tutorial for What is in your Should I exclude |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think I need to explain some oddities in the doc that I think you spotted, for example the various git commands sprinkled in the doc: The doc is a literate program, those commands are usually executed via emacs directly in the doc. By doing that I wanted a way to have the human-readable documentation also execute the commands it mentions, and have it embed the output in the doc. In theory the docs would then be kept in sync with the program over time. The docs then also generate the whole hledger-flow-example repository. OK, onto your actual question: which files to include and exclude from version control. I have always included the generated files in my repo, because it allows me to see what changed. Especially the journal files. The include files are small, and I find it helpful to see that they get updated when I add stuff, so I'll probably keep those version controlled in my repo - other people probably have different preferences 😃 |
Beta Was this translation helpful? Give feedback.
-
What bank account is my money in? |
Beta Was this translation helpful? Give feedback.
I think I need to explain some oddities in the doc that I think you spotted, for example the various git commands sprinkled in the doc:
The doc is a literate program, those commands are usually executed via emacs directly in the doc.
By doing that I wanted a way to have the human-readable documentation also execute the commands it mentions, and have it embed the output in the doc. In theory the docs would then be kept in sync with the program over time.
This works mostly OK, but it still relies on me manually executing all the code blocks to keep the docs in sync, and I haven't been very good at that.
The docs then also generate the whole hledger-flow-example repository.
OK, onto your act…