您好,我从事过一个项目,现在我想将我的代码推送到本地 git repo,我已经推送代码或更改了几次,没有任何错误,但是今天我发出命令。从我的 Linux 操作系统 ubuntu
git push origin develop
我收到以下错误
Connection closed by ::1
fatal: The remote end hung up unexpectedly
这是关于我的 git 配置的信息
git config --list
alias.l=log --pretty=oneline -n 20 --graph
alias.s=status -s
alias.d=diff --patch-with-stat
alias.p=!git pull; git submodule foreach git pull origin master
alias.c=clone --recursive
alias.ca=!git add -A && git commit -av
alias.go=checkout -B
alias.tags=tag -l
alias.branches=branch -a
alias.remotes=remote -v
alias.credit=!f() { git commit --amend --author "$1 <$2>" -C HEAD; }; f
alias.reb=!r() { git rebase -i HEAD~$1; }; r
alias.undopush=push -f origin HEAD^:master
apply.whitespace=fix
core.excludesfile=~/.gitignore
core.attributesfile=~/.gitattributes
core.whitespace=space-before-tab,indent-with-non-tab,trailing-space
core.autocrlf=input
core.editor=vi
color.ui=auto
color.branch.current=yellow reverse
color.branch.local=yellow
color.branch.remote=green
color.diff.meta=yellow bold
color.diff.frag=magenta bold
color.diff.old=red bold
color.diff.new=green bold
color.status.added=yellow
color.status.changed=green
color.status.untracked=cyan
merge.log=true
branch.master.remote=origin
branch.master.merge=refs/heads/master
url.git@github.com:.insteadof=gh:
url.git@github.com:.pushinsteadof=github:
url.git@github.com:.pushinsteadof=git://github.com/
url.git://github.com/.insteadof=github:
url.git@gist.github.com:.insteadof=gst:
url.git@gist.github.com:.pushinsteadof=gist:
url.git@gist.github.com:.pushinsteadof=git://gist.github.com/
url.git://gist.github.com/.insteadof=gist:
user.name=Pradeep Rajvanshi
user.email=pradeep@gsmicrosystems.com
github.user=username
github.token=0123456789yourf0123456789token
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=git@localhost:lms.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
请指导我。谢谢你。