-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo git lfs push origin 世博量化研究院 Remote "origin" does not support the Git LFS locking API. Consider disabling it with: $ git config lfs.https://github.com/englianhu/library.git/info/lfs.locksverify false [email protected]: Permission denied (publickey).: exit status 255
#2
Comments
猫舍台式应用GitHub Desktop则出现以下错误信息: Authentication failed. Some common reasons include:
- You are not logged in to your account: see File > Options.
- You may need to log out and log back in to refresh your token.
- You do not have permission to access this repository.
- The repository is archived on GitHub. Check the repository settings to confirm you are still permitted to push commits.
- If you use SSH authentication, check that your key is added to the ssh-agent and associated with your account.
- If you use SSH authentication, ensure the host key verification passes for your repository hosting service.
- If you used username / password authentication, you might need to use a Personal Access Token instead of your account password. Check the documentation of your repository hosting service. |
englianhu@Scibrokes:~/文档/GitHub/library$ cd
englianhu@Scibrokes:~$ ssh-agent -s
SSH_AUTH_SOCK=/tmp/ssh-y3pxpqQFAMit/agent.25490; export SSH_AUTH_SOCK;
SSH_AGENT_PID=25491; export SSH_AGENT_PID;
echo Agent pid 25491;
englianhu@Scibrokes:~$ ssh-add ~/.ssh/id_rsa
Identity added: /home/englianhu/.ssh/id_rsa (englianhu@Scibrokes)
englianhu@Scibrokes:~$ eval `ssh-agent -s`
Agent pid 25567
englianhu@Scibrokes:~$ ssh-add ~/.ssh/id_rsa
Identity added: /home/englianhu/.ssh/id_rsa (englianhu@Scibrokes)
englianhu@Scibrokes:~$ ssh -T git@github.com
Hi englianhu! You've successfully authenticated, but GitHub does not provide shell access. |
englianhu@Scibrokes:~$ cd /home/englianhu/文档/GitHub/library/
englianhu@Scibrokes:~/文档/GitHub/library$ git init
已重新初始化已存在的 Git 仓库于 /home/englianhu/文档/GitHub/library/.git/
englianhu@Scibrokes:~/文档/GitHub/library$ git status
位于分支 世博量化研究院
您的分支领先 'origin/世博量化研究院' 共 6 个提交。
(使用 "git push" 来发布您的本地提交)
无文件要提交,干净的工作区
englianhu@Scibrokes:~/文档/GitHub/library$ git push
ssh: Could not resolve hostname github.com: Temporary failure in name resolution
fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。
englianhu@Scibrokes:~/文档/GitHub/library$ git config --global core.compression 0
englianhu@Scibrokes:~/文档/GitHub/library$ git push --no-thin
枚举对象中: 332, 完成.
对象计数中: 100% (332/332), 完成.
使用 4 个线程进行压缩
压缩对象中: 100% (312/312), 完成.
写入对象中: 13% (44/332), 258.68 MiB | 2.54 MiB/s
写入对象中: 17% (58/332), 416.46 MiB | 2.53 MiB/s
写入对象中: 34% (116/332), 1.25 GiB | 2.56 MiB/s
remote: fatal: pack exceeds maximum allowed size (2.00 GiB)
error: 远程解包失败:index-pack abnormal exitiB/s
To github.com:englianhu/library.git
! [remote rejected] 世博量化研究院 -> 世博量化研究院 (failed)
error: 无法推送一些引用到 'github.com:englianhu/library.git'
englianhu@Scibrokes:~/文档/GitHub/library$ sudo chmod -R 777 /home/englianhu/文档/GitHub/library/
englianhu@Scibrokes:~/文档/GitHub/library$ sudo git push --force
git@github.com: Permission denied (publickey).
fatal: 无法读取远程仓库。
请确认您有正确的访问权限并且仓库存在。 |
出处: 参考文献: |
Also, GitHub Desktop for Mac app had a menu item, Repository > Discard Changes to Selected Files, that effectively enabled the discard operation on multiple files: This menu item is missing in the current beta:
如何通过台式猫城(GitHub Desktop)一次性多选文件一般上通过台式猫城(GitHub Desktop)多选文件需要手动逐个打勾非常费事,倘若有好几万个文件就麻烦许多;欲一次性打勾选择多文件的话... 对于数量超额或者体积过大的解决方案,可以通过台式猫城(GitHub Desktop):
|
当使用猫城下载项目或推送出错时,如果需要公钥,可通过以下代码生成新公钥,再到猫城网站https://github.com/settings/keys 设置修改SSH公钥。 ## 生产公钥
ssh-keygen -t rsa
## 查询公钥
cat ~/.ssh/id_rsa.pub |
出处:
出处:https://packages.ubuntu.com/jammy/amd64/libc6/download
echo 'deb http://security.ubuntu.com/ubuntu jammy-security main' | sudo tee /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
sudo apt update
sudo apt list --upgradable
sudo apt full-upgrade -y
sudo aptitude full-upgrade -y |
The text was updated successfully, but these errors were encountered: