-
Unable to push after I did what I did in the tutorial.It is possible to push before this and I can push in other projects. PS D:\note> git push
Enter passphrase for key '/c/Users/AisingioroHao/.ssh/id_ed25519':
Uploading LFS objects: 0% (0/1), 0 B | 0 B/s
batch request: git@github.com: Permission denied (publickey).: exit status 255
error: failed to push some refs to 'github.com:AisingioroHao0/note.git' git lfs install
git lfs track "file"
git add .
git commit
git push these might be useful. PS D:\note> git lfs env
git-lfs/3.0.2 (GitHub; windows amd64; go 1.17.2)
git version 2.34.1.windows.1
Endpoint=https://github.com/AisingioroHao0/note.git/info/lfs (auth=none)
SSH=git@github.com:AisingioroHao0/note.git
LocalWorkingDir=D:\note
LocalGitDir=D:\note\.git
LocalGitStorageDir=D:\note\.git
LocalMediaDir=D:\note\.git\lfs\objects
LocalReferenceDirs=
TempDir=D:\note\.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\note\.git\lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=C:/Users/AisingioroHao/AppData/Local/Programs/Git/mingw64/libexec/git-core
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f" waiting for your help, thank you |
Beta Was this translation helpful? Give feedback.
Answered by
bk2204
Jan 31, 2022
Replies: 1 comment 5 replies
-
Hey, This is #1843 and it's a bug in Git for Windows (git-for-windows/git#1613). You're welcome to do some investigation in that issue to help the Git for Windows maintainers figure out what's going on, or you can add your key to an ssh-agent and use that. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
aihao2000
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
This is #1843 and it's a bug in Git for Windows (git-for-windows/git#1613). You're welcome to do some investigation in that issue to help the Git for Windows maintainers figure out what's going on, or you can add your key to an ssh-agent and use that.