[git-users] How to move manually-versionned files to git (version control)?

2014-11-29 Thread Stavros Ioannidis
I would create the repository and add the oldest file as myfile. Then i would 
repeat the following procedure for each file.
● copy and paste the contents of the next file into myfile.
● commit with the right authoring date.

Maybe create a script to do this.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [git-users] How to move manually-versionned files to git (version control)?

2014-11-27 Thread Dale R. Worley
 From: John McKown john.archie.mck...@gmail.com

 commit -m 'myfile as of date from filename'

The manual page for git-commit says:

   --date=date
   Override the author date used in the commit.

DATE FORMATS
   The GIT_AUTHOR_DATE, GIT_COMMITTER_DATE environment variables and the
   --date option support the following date formats:

There seems to be an author date and a commit date in Git commits,
so it looks like you can set the author date to be the date the
original file was saved and still record the date you created the Git
commit as the commit date.

Dale

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.