我最近重命名一个新的别名的远程和旧的别名(及其所有提交直到重命名)仍然可见的日志,因此gitk。运行 $ git remote show old-alias
显然返回: fatal: 'old-alias' does not appear to be a git repository
这是烦了。我如何干净地删除这些引用?是否可以手动删除 .git/logs/refs/remotes/old
错误我试图推到一个善变的回购与 ~/pychess$ git push i175 branches/i175loc
searching for changes
no changes found
error: src refspec branches/i175loc does not match any.
error: failed to push some refs to 'hg::htt
这里有一个git的状态显示,我有一个承诺准备推: $ git status
# On branch develop
# Your branch is ahead of 'origin/develop' by 1 commit.
# (use "git push" to publish your local commits)
#
nothing to commit, working dir