File name too long in Azure Web App Service CI/CD

Viewed 361

I'm trying to pull my changes from the git repository but I got the error Filename too long.

To resolve this issue, I tried running the command git config --system core.longpaths true but I get Permission denied error: could not lock config file error. I think this is normal because running the command above requires admin CLI.

Would like to ask if there's any way I can enable the longpaths in azure web app service?

1 Answers

Try to use below command.

git config --global core.longpaths true
Related