What does the warning “redirecting to” actually mean?

前端 未结 5 534
终归单人心
终归单人心 2021-01-03 22:45

I have noticed that sometimes when I git pull a project, there is a message saying:

\"warning: redirecting to \"

I tried search

5条回答
  •  天命终不由人
    2021-01-03 23:33

    In my case the only difference was a trailing slash / on the URL address returned by the warning from GitHub.

    Adding the trailing slash to my config file made the warning go away.

    Oddly enough, I was doing a git fetch --all and only my remote required the final slash, the other (origin and maintainer's) GitHub repos didn't need it. Rather confusing.

提交回复
热议问题