-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change safe.directory after git init #56
Conversation
Change save.directory after git init
I changed this line: After git init Thanks |
Hey there, thank you for this @migagi Could you explain the issues you were seeing, and how this resolves it please? |
Hi, In github action, every step is ok less in Hugo deploy pages step produce this error: -------------------+----- Total in 48 ms
The solution for this is move "git config --global --add safe.directory "${PWD}"" after git init And after made this change in my fork repository every step goes ok: Total in 64 ms
If you need something else tell me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes perfect sense, thank you @migagi
Hi,
I changed this line:
git config --global --add safe.directory "${PWD}"
After git init, with this the GitHub action works perfec.
Thanks