git - How do I turn off GIT_TRACE? -
i started receiving permission denied errors when trying fetch
our git server. according this document, used git_trace_packet
, git_trace
commands. found problem , fixed it, every git command run getting traced. can tell me how turn function off?
as said in comments, not commands. there command involved (export
) it's shell (bash
in case, although there other shells) command, not git command. changes set of environment-variables shell provides other commands.
so, need un-do thing did in bash, bash command.
you can use sirbranedamuj's method:
export git_trace_packet=0 git_trace=0
this keeps variables in environment changes value. or, can:
unset git_trace_packet git_trace
which removes 2 names set of environment variables entirely. effect on git same either way. (for other commands, , other variables, there's difference between "set 0 or empty-string" vs "not set @ all", it's worth remembering both methods.)
Comments
Post a Comment