So I have been using folders for version control so far and I really want to use Git going forward. I have ~ 20 folders in the format projName_YYYYMMDD format. Does Git allow to convert these older version in folders as its commit history?

有帮助吗?

解决方案

Just overwrite the contents and commit them one at a time in your git repo.

## Overwrite Previous Folder with Next Folder
git add -A
git commit -m 'commit message here, perhaps the date from the folder'
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top