package misc import ( "os" "os/exec" ) func GitPull() error { cmd := exec.Command("git", "pull") cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin return cmd.Run() }