New project layout in git
07 Feb 2012I'm starting to switch to git at work, and I'm rethinking my usual new project workflow layout synergy hashtag a bit.
(Gah.)
What I'm thinking about is something like this:
- Decide I need to work on a new project that should be in revision control. (Question: when should you not put a project in revision control? Answer: when you're dead; it will fuck with the commit logs.)
- Run a script.
The script will:
- Prompt for a project name and a one-line description
Check out git://git.example.com/newproject, which will contain:
tests directory
perl, python and shell templates (just in case)
a README which contains the description
Set up a branch called "work" and a branch called "public"
Add the central repo as a remote and clone/push it there
It's possible I'm overthinking this. But I seem to be doing this a lot. I should check to see if there's something like this out there already.
Add a comment:
Name and email required; email is not displayed.
Related Posts
QRP weekend 08 Oct 2018
Open Source Cubesat Workshop 2018 03 Oct 2018
mpd crash? try removing files in /var/lib/mpd/ 11 Aug 2018