如何使用 TortoiseGit 将现有项目添加到 Git

How to add existing project to Git with TortoiseGit

这是 this question

的 TortoiseGit 版本

如果我有一个现有项目并且我想将其添加到 Git 版本控制并立即 "check it out",那么 TortoiseGit 命令是什么?

我在 tortoisegit "create repository here" 中搜索,没有找到有用的东西。

是否需要 TortoiseGit?因为你可以打开命令行,转到项目目录并执行 'git init .'

打开主文件夹的上下文菜单和select "Git Create repository here..."。并提交所有文件(不要忘记将您不想跟踪的文件添加到忽略列表)。