master ブランチをリモート target:tmp にプッシュするとき
git push tmp master
私はこのメッセージを受け取ります
warning: Duplicated ref: refs/heads/master
プッシュはまだ成功します。
しかし、このメッセージはどういう意味ですか? これに関する詳細なログ情報を見つけるにはどうすればよいですか?
これは私の .git/config です
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:testuser/myproject.git
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "tmp"]
url = git@192.168.1.44:testuser/myproject.git
fetch = +refs/heads/*:refs/remotes/tmp/*
私のgitバージョンは1.7.11.msysgit.1
show-ref
とls-remote
情報
$ git show-ref
1696d17186db41cc70876f76f943e18ea4708ad3 refs/heads/master
3c51688bf27e712001db1b6e9f316748634643c4 refs/remotes/origin/HEAD
3c51688bf27e712001db1b6e9f316748634643c4 refs/remotes/origin/master
1696d17186db41cc70876f76f943e18ea4708ad3 refs/remotes/tmp/master
$ git ls-remote tmp
warning: Duplicated ref: refs/heads/master
1696d17186db41cc70876f76f943e18ea4708ad3 HEAD
1696d17186db41cc70876f76f943e18ea4708ad3 refs/heads/master
$ git ls-remote origin
3c51688bf27e712001db1b6e9f316748634643c4 HEAD
3c51688bf27e712001db1b6e9f316748634643c4 refs/heads/master
git show-ref
on tmpの出力
$ git show-ref
warning: Duplicated ref: refs/heads/master
1696d17186db41cc70876f76f943e18ea4708ad3 refs/heads/master
packed-refs
on tmpの内容
# pack-refs with: peeled
3c51688bf27e712001db1b6e9f316748634643c4 refs/heads/master
3c51688bf27e712001db1b6e9f316748634643c4 refs/heads/master
find .
ベアレポでの出力myproject.git
。objects フォルダーにはサブフォルダーが多すぎるため、貼り付けません。
$ find .
.
./branches
./packed-refs
./objects
./HEAD
./info
./info/exclude
./config
./description
./refs
./refs/tags
./refs/heads
./refs/heads/master
./hooks
./hooks/commit-msg.sample
./hooks/update.sample
./hooks/pre-commit.sample
./hooks/prepare-commit-msg.sample
./hooks/post-update.sample
./hooks/pre-rebase.sample
./hooks/post-receive
./hooks/pre-applypatch.sample
./hooks/update
./hooks/applypatch-msg.sample