package misc import ( "os" "os/exec" ) func GitRest() error { cmd := exec.Command("git", "reset", "--hard", "origin/main") cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr cmd.Stdin = os.Stdin return cmd.Run() }