1
Hello !
Consulting my remote origin via command
git remote show origin
I got the return:
$ git remote show origin
* remote origin
Fetch URL: [email protected]:/var/git/Projeto.git
Push URL: [email protected]:/var/git/Projeto.git
What is the reason for this distinction between two Urls (Fetch and Push)? These two Urls could be different ? If so, what is the practical use of this ?
fetch is read-related, ex: download, while push is write-related,ex:save changes, links could be different (using the command
set-url
for example) but the documentation recommends that they be the same. Practical utility? Honestly I never saw, I’ll wait for the answers because I was also curious– Lucas Miranda