Haskell stack and version control
I’m new to Haskell and Stack. When creating a new project using
stack new which files should be checked in to git (or any other VCS)? The whole dir?
- Push Xcode Project to TFS Git repository
- git eclipse always have to pull allready updated project
- How to version-control spread-out files without replacing the originals?
- Git rebase will not continue after a delete/modify conflict
- Branch invariant directory in git repository
- Git history - find lost line by keyword
One Solution collect form web for “Haskell stack and version control”
You should check in
Setup.hs, as they are necessary for building your project in a reproducible way. The
test directories should also be committed, as they in principle are where your source code will live (you can of course rearrange the structure of the default project if you wish to do so). On the other hand, you should ignore the
.stack-work directory, as it contains the build output and other volatile pieces of data.