libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Repository.Init() vs git init --separate-git-dir

Open abdeldjalil-fellah opened this issue 5 years ago • 1 comments

C:\working> git init --separate-git-dir='C:\repository'

creates C:\repository directory that contains directly git files (HEAD, config, index, refs)

Repository.Init("C:\working". "C:\repository")

creates C:\repository directory that contains .git directory

How to make Repository.Init() do the same as git init --separate-git-dir? (without the extra .git directory)

abdeldjalil-fellah avatar Jul 17 '20 15:07 abdeldjalil-fellah

I am second to this question / issue.

nightroman avatar Dec 22 '24 14:12 nightroman