gitman
gitman copied to clipboard
Support for installing in "bare" with depth=1 and no .git folder
Tools like npm have a special command for use in CI environments.
It would be great if gitman had something like this as well.
It should install dependencies and remove the .git dirs so that we don't unnecessarily bloat our builds.
Yeah, that sounds useful! How is this npm mode enabled?
Separate command: npm ci
Thanks!
I think I'd be in in favor of a command-line option that can be passed to both install and update.
-b / --bare perhaps.
Builds should not be updating dependencies. Composer the PHP manager has some switches to get the oldest dependencies within constraints, this aids in testing.
It is never a good idea to call gitman update in CI.