2

I am holding a project on gitlab, and I am having a cloned copy on my ubuntu desktop. On recent days I am facing a weird warning (redirecting to https://gitlab.com/<my_handle>/<project>.git/) on remote update and fetch operation.

Below mentioned is my remote, do I need to update it to hold .git at the end of URL ?

$ git remote -v
origin  https://gitlab.com/<my_handle>/<project> (fetch)
origin  https://gitlab.com/<my_handle>/<project> (push)

Note: The other existing question does not answer this doubt.

rashok
  • 12,790
  • 16
  • 88
  • 100
  • The second answer at the linked question: https://stackoverflow.com/a/57507789/7976758 – phd Jan 26 '20 at 17:37
  • No. My doubt here is such warning does not come with other git servers. But why this warning is coming only for `gitlab` repos ? – rashok Jan 26 '20 at 17:43
  • Perhaps because Gitlab recently changed how they redirect from `repo` to `repo.git`. – phd Jan 26 '20 at 17:47
  • 2
    Side note: *doubt* is not really synonymous with *question* in UK/US English. See https://english.stackexchange.com/q/2429/180540 – torek Jan 26 '20 at 19:28

0 Answers0