Method

GgitSubmoduleinit

Declaration [src]

void
ggit_submodule_init (
  GgitSubmodule* submodule,
  gboolean overwrite,
  GError** error
)

Description [src]

Just like “git submodule init”, this copies information about the submodule into “.git/config”. You can use the accessor functions above to alter the in-memory git_submodule object and control what is written to the config, overriding what is in .gitmodules.

Parameters

overwrite gboolean
 

Forces existing entries to be updated.

error GError **
  The return location for a GError*, or NULL.