Pergunta

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?

Foi útil?

Solução

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'
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top