I have noticed that sometimes when I git pull a project, there is a message saying:
"warning: redirecting to <url>"
I tried searching what it means but I find nothing useful. What is it?
Typing a URL into your browser or clicking on a link sends a request for the page to the server of the website. A 301, “moved permanently,” redirect is a set of instructions which are executed when the request hits the server, automatically re-routing to a different page.
1. A redirection describes sending a signal, data, or other information to an alternate location. Some examples of redirection are sending data intended for one drive to another drive or sending a user visiting a web page to another web page.
Redirecting URLs is the practice of resolving an existing URL to a different one, effectively telling your visitors and Google Search that a page has a new location.
check you remote
git remote -v
probably yours remote is https://server/../project and does not end with .git ( https://server/../project.git)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With