我从未遇到过 ssh 工作和 git 不以这种方式工作的情况。不知道如何排除故障。
ssh 似乎工作(-T防止第一行):
iam@heeere:/e/.ssh$ ssh github
PTY allocation request failed on channel 0
Hi bradyt! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
Run Code Online (Sandbox Code Playgroud)
git push 似乎不起作用
iam@heeere:/e/basic-computing-notes$ git push
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)
我的 git 配置是
iam@heeere:/e/basic-computing-notes$ git config -l
user.email=algebrat@uw.edu
user.name=Brady Trainor
push.default=simple
alias.ac=!git add --all && …Run Code Online (Sandbox Code Playgroud) 在用Vim加载Vim之后可以加载netrw vim -u NONE吗?
我考虑过诸如
:set nocp
:set filetype on
:set filetype plugin on
:let g:loaded_netrw=1
:let g:loaded_netrwPlugin=1
:h netrw-start
Run Code Online (Sandbox Code Playgroud)
我意识到我可以制作一些~/.minimal-vimrc-netrw,但是想知道是否有一种方法可以“手动”启用。