2017-02-01 14 views
1

私はgit-extrasの一部であるgit-infoを持っています。私は実際にはリモートリポジトリのURLを知って探しています -git-infoに相当するhgはありますか?

┌─[[email protected]] - [~/games/libcpuid] - [10328] 
└─[$] git-info 

## Remote URLs: 

origin https://github.com/anrieff/libcpuid (fetch) 
origin https://github.com/anrieff/libcpuid (push) 

## Remote Branches: 

    origin/HEAD -> origin/master 
    origin/master 

## Local Branches: 

* master 

## Most Recent Commit: 

commit fa87a5e183a3809ded89ecb3efde4e94837c5736 
Author: Veselin Georgiev <[email protected]> 

    Fixed issue #78: date in changelog is wrong 

Type 'git log' for more commits, or 'git show <commit id>' for full commit details. 

## Configuration (.git/config): 

user.name=Shirish Agarwal 
[email protected] 
core.editor=leafpad 
core.excludesfiles=/home/shirish/.gitignore 
core.gitproxy="ssh" for gitorious.org 
merge.tool=meld 
push.default=simple 
color.ui=true 
color.status=auto 
color.branch=auto 
core.repositoryformatversion=0 
core.filemode=true 
core.bare=false 
core.logallrefupdates=true 
remote.origin.url=https://github.com/anrieff/libcpuid 
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* 
branch.master.remote=origin 
branch.master.merge=refs/heads/master 

私はHG側から何かがあった場合は試してみましたが、空を思いついた:(

任意のアイデアを誰にもしてCLIへのリモートレポ情報を取得する方法水銀/水銀インスタンス

私はhttps://blogs.atlassian.com/2012/02/mercurial-vs-git-why-mercurial/見なかったが、同等のコマンドを見つけることができませんでし

答えて

3

あなたが望むすべては、URLの場合は:?。

$ hg paths 
default = https://www.mercurial-scm.org/repo/hg 

hg help paths,hg help urlsおよびhg help configを参照してください。

関連する問題