We've got a project with a couple hundred units and forms, and we want to start using GIT for version control. I know that the latest Delphi can connect directly to GIT. The company here actually has a white-label hosted GitLab server attached to their main domain name.

We've got a project with a couple hundred units and forms, and we want to start using GIT for version control. I know that the latest Delphi can connect directly to GIT. The company here actually has a white-label hosted GitLab server attached to their main domain name.

What I'm wondering is if anybody has any suggestions or can point to tutorials or a white-paper of some sort that discusses how to go about migrating an existing project to GIT?

Everything I've seen talks about setting up a new project from scratch.

Also nothing I've seen is Delphi specific, so I'm not sure what files we want to grab and which ones we don't.

Comments

  1. David Schwartz well you have everything to win to use git instead. All team members of course.

    ReplyDelete
  2. David Schwartz I don't think we can tell you how to find the right set of source files for this project. That's between your and your colleagues.

    Probably your biggest problem is the lack of revision control in use in this project. Whoever is in charge needs to impose some discipline.

    ReplyDelete
  3. If you don't want to migrate, then simply start a brand new repo in Git and check in the code.

    However in order to determine which file versions represents the latest code, perhaps migrating the code to Git and then analyzing the history there before copying the files into a new repo (thus throwing away the history) could be an option.

    Never used TFS so no idea what facilities it has for viewing commit graphs, diffs and whatnot.

    ReplyDelete

Post a Comment