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?

  • Can't get automated release working with Hudson + Git + Maven Release Plugin
  • How to manage secrets in a Microservice / Container / Cloud environment?
  • Is there a way to “freeze” a file in Git?
  • How to get the last commit date for a bunch of files in git?
  • how to create new subfolder in git repository?
  • git refusing to fetch into current branch
  • Is it possible to clone only certain commit from a git repo with depth 1?
  • ZendSkeleton Issues
  • Disable auto-completion of remote branches in Zsh?
  • Protect Git branch in Visual Studio Team Services like in GitHub
  • dvcs partial merge (git, hg merge tracking)
  • Difference between git filter branch and git subtree?
  • One Solution collect form web for “Haskell stack and version control”

    You should check in stack.yaml, your-project-name.cabal and Setup.hs, as they are necessary for building your project in a reproducible way. The src, app and 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.

    Git Baby is a git and github fan, let's start git clone.