GitHelper.CreateRepository

Creates a new repository which is the equivalent of a Git Init.

public bool CreateRepository(string path,
	string gitIgnoreText)

Parameters

path
Path where to create a repository. Path should not exist yet.

gitIgnoreText
Text for the .gitignore file in the Git root

Remarks

Note until you make your first commit there's no active branch.


See also:

Class GitHelper

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic