----- Original Message ----- From: Andrew Pennebaker To: git-users@googlegroups.com Sent: Thursday, February 26, 2015 4:10 PM Subject: [git-users] Why no git remote get-url origin?
git-remote offers a set-url subcommand for setting a remote's URL: $ git remote set-url origin g...@github.com:mcandre/regenboog.git But I can't find a get counterpart: $ git remote get-url origin error: Unknown subcommand: get-url Could we add this getter to make the interface more intuitive? Git doesn't use a get/set mindset. It's not clear to me what you expect that command to do. Try using 'git config' if you wanted to readback any of the configuration settings If you were wanting to distinguish between a fetch and a push url have a look at the pushurl setting (which sometimes has differing authorisation setting depending on your server configs) The world is only intuitive in retrospect ;-) (aka Neither common nor sense) Philip -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.