Hacker News new | ask | show | jobs
by markus_zhang 641 days ago
Sorry it's on my other machine so I don't have it at hand. But it's an extremely simple setup that configs the email, the user, removes the need of --set-upstream when pushing, automate pushing with token.

I asked ChatGPT to write it and double checked btw.

1 comments

Most of those things can just be set in your global git config file, and surely you're using some kind of repeatable/automated setup for VMs.. I don't see why you'd ever need to be doing something other than "copy default git config file" in your Vagrantfile/etc
That's a good idea. I use VirtualBox but I'm sure there is something similar I can do.
The benefit of vagrant is it works with a wide variety of Hypervisors (including vbox) and strongly encourages a reproducible setup through defined provisioning steps.