Closed jerry871002 closed 1 year ago
Instead of relying on where the user runs the script. Use git rev-parse --show-toplevel to get the full path of the top-level directory.
git rev-parse --show-toplevel
Instead of relying on where the user runs the script. Use
git rev-parse --show-toplevel
to get the full path of the top-level directory.