re: Using git to create a template project for repeated use VIEW POST


Why not write a custom bash command?


From my understanding git deletes 'headless' branches, so rather than deleting .git/, you can just delete the branches and start a new branch & head. The old ones should just wither away, along with the data. Git man page says after 30 days it deletes that stuff.


So I actually write quite a few bash scripts, enough where I keep a repo of them. I just was really hoping that git, has a native command.

Code of Conduct Report abuse