Skip to content

Setting the working directory before git operations

Matthias Käppler requested to merge github/fork/crazyscience/patch-3 into master

Created by: crazyscience

Set the initial working directory. An issue can arise if the user is logged in as root and the current working directory is /root/. The console will return an error:

fatal: Could not change back to '/root': Permission denied

Changing the working directory prior to the clone operation seems to fix this.

Merge request reports

Loading