Is there a way to execute Git commands against a repository without being in that repository?
For example something like this: git /home/repo log
?
Please do not tell me to cd
to it. I’m doing this via an exec
call.
Is there a way to execute Git commands against a repository without being in that repository?
For example something like this: git /home/repo log
?
Please do not tell me to cd
to it. I’m doing this via an exec
call.