package
1.18.0
Repository: https://github.com/koderover/zadig.git
Documentation: pkg.go.dev

# Functions

CheckoutHead returns command git checkout -qf FETCH_HEAD.
DeepenedFetch deepens the fetch history.
Fetch fetches changes by ref, ref can be a tag, branch or pr.
SetConfig returns command: git config --global $KEY $VA e.g.
InitGit creates an empty git repository.
Merge merge a branch e.g.
RemoteAdd sets the remote origin for the repository.
RemoteRemove removes the remote origin for the repository.
ResetMerge reset last merge It return command git reset --merge.
SetConfig returns command: git config --global $KEY $VA e.g.
ShowLastLog returns command git --no-pager log --oneline -1 It shows last commit messge with sha.
UpdateSubmodules returns command: git submodule update --init --recursive.

# Structs

Command ...