Re: getting pull and push URLs for the current branch

2018-04-08 Thread Ævar Arnfjörð Bjarmason
On Sun, Apr 08 2018, Michal Novotny wrote: > is there a way to get remote url for the current branch? That is the > url that will be used when I call `git pull`. It doesn't seem to be a > particularly easy task. You'd do something like this (sans error checking): git remote get-url $(git c

getting pull and push URLs for the current branch

2018-04-08 Thread Michal Novotny
Hello, is there a way to get remote url for the current branch? That is the url that will be used when I call `git pull`. It doesn't seem to be a particularly easy task. Thank you! clime