git rev-parse origin/develop > $(git rev-parse --show-toplevel)/.git/refs/remotes/foo/develop
好的。这样可行。是否有 git 命令来执行此操作?