A file in git associated with the repo, under revision control, but not associated with any particul

Posted by anon on Stack Overflow See other posts from Stack Overflow or by anon
Published on 2010-03-22T06:35:51Z Indexed on 2010/03/22 6:41 UTC
Read the original article Hit count: 349

Filed under:

Say I have a file called: "todo"

It's a list of things I want to do for this project.

I want this file associated with my git repo.

I want there to be different revisions of this file,

however, I don't want it associated with particular branches. For example:

  1. On branch master.
  2. Create some basic ToDo items
  3. Branch "dev1"
  4. Add more stuff to todo list
  5. Branch "dev2" from master.
  6. Add more stuff to todo list
  7. Now, I have different revisions of the todo file lying all around.

I just want there to be one "todo" file -- is this possible? Does this make sense? Am I misusing todo somehow?

© Stack Overflow or respective owner

Related posts about git