I'm wondering if there is a magit equivalent togit remote -v to list remotes and their URL's defined on a git repository. The magit remotes popup offers options to add, remove, rename, and set url, but I don't see any sort of listing mechanism.
Samplegit remote -v output:
origin[email protected]:/var/git/myproject.git (fetch)origin[email protected]:/var/git/myproject.git (push)magit-list-remotes is non-interactive and only lists remote names.
- I do not know what the current version of magit presently has to offer, but I wrote up my own push to multiple remotes (a couple of years ago) that begins with
git remote -vusingstart-process--Emacs — How to push a Git repository to multiple remotes:stackoverflow.com/a/23178396/2112489lawlist– lawlist2016-07-27 20:59:04 +00:00CommentedJul 27, 2016 at 20:59
1 Answer1
The buffer generated bymagit-show-refs-popup (y) willgive output that includes something like
Origin ([email protected]:/var/git/myproject.git) (2) origin/HEAD -> origin/master origin/master Commit messageIt is working with the output ofgit branch -vvr rather thangit remote -v.
Explore related questions
See similar questions with these tags.
