// Merge merges git reference `ref` with the current HEAD, passing `args` to the merge command
Merge merges git reference `ref` with the current HEAD, passing `args` to the merge command
// Merge merges git reference ` ref ` with the current HEAD passing ` args ` to the merge command
func (gcl *GitCommandLine) Merge(ref string, args ...string) error {
	out, err := exec.Command(
		"git",
		"-c",
		"user.name=prwatch",
		"-c",
		"user.email=prwatch@github.bot",
		"merge",
		ref,
		"-m",
		"Test merge").CombinedOutput()
	if err != nil {
		log.Println("Error merging branch:", string(out))
	}
	return err
}
func ( gcl * GitCommandLine ) Merge ( ref string , args ... string ) error { out , err := exec . Command ( " " , " " , " " , " " , " " , " " , ref , " " , " " ) . CombinedOutput ( ) if err != nil { log . Println ( " " , string ( out ) ) } return err }
Merge merges git reference `ref` with the current HEAD, passing `args` to the merge command
Merge merges git reference ` ref ` with the current HEAD passing ` args ` to the merge command