PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, April 26, 2022

[FIXED] What does the warning "redirecting to" actually mean?

 April 26, 2022     git, pull, url, warnings     No comments   

Issue

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?


Solution

warning: redirecting to

This is typical of a Git repo URL starting with git:// or http://, but which is redirected at the server level to https:// (which is more secure, and allows for authentication)

This is set at the server level (as in this one) with a 301 Moved Permanently.

# enforce https
location / {
return 301 https://$server_name$request_uri;
}


Answered By - VonC
Answer Checked By - Gilberto Lyons (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © 2025 PHPFixing