modulepackage
0.0.0-20220323192959-5e008d6476f5
Repository: https://github.com/paradocs-cli/gengit.git
Documentation: pkg.go.dev
# Functions
AddRefs adds the changes made to the staging area to be committed.
CheckForGit checks for a .git directory to avoid reinitialization of an already existsing git repository.
CheckRemote checks for the existence of a remote 'origin' and returns a boolean.
CloneRepo clones the remote repository into the given path and.
CommitObjs commits updates for the current repository.
CreateBranch takes arguments and creates x amount of refs from main based on the arguments passed and returns a slice of string with said references short names.
InitRepo takes a string argument for repo path and then checks to see if it has already been initialized if it has it returns the Repository, if not it initializes it and returns the repository.
No description provided by the author
SetRemote uses the CheckRemote function and returns statistics of the remote repository.