2026.01.01一些git报错
=========================================
$ git add *
fatal: not a git repository (or any of the parent directories): .git
=========================================
$ git init
Initialized empty Git repository in C:/Users//.git/
(master)
$ git push
fatal: Unable to persist credentials with the 'wincredman' credential store.
See https://aka.ms/gcm/credstores for more information.
$ git commit * -m ""
error: '' does not have a commit checked out
fatal: updating files failed
1>MSVCRTD.lib(exe_winmain.obj) : error LNK2019: 无法解析的外部符号 WinMain,函数 "int __cdecl invoke_main(void)" (?invoke_main@@YAHXZ) 中引用了该符号
=========================================
$ git add *
(master)
=========================================
$ git commit * -m ""
error: pathspec '3D Objects' did not match any file(s) known to git
error: pathspec 'AndroidStudioProjects' did not match any file(s) known to git
error: pathspec 'AppData' did not match any file(s) known to git
error: pathspec 'Application Data' did not match any file(s) known to git
error: pathspec 'Contacts' did not match any file(s) known to git
error: pathspec 'Cookies' did not match any file(s) known to git
error: pathspec 'Desktop' did not match any file(s) known to git
error: pathspec 'Documents' did not match any file(s) known to git
error: pathspec 'Downloads' did not match any file(s) known to git
error: pathspec 'Favorites' did not match any file(s) known to git
error: pathspec 'Funshion' did not match any file(s) known to git
error: pathspec 'IntelGraphicsProfiles' did not match any file(s) known to git
error: pathspec 'Links' did not match any file(s) known to git
error: pathspec 'Local Settings' did not match any file(s) known to git
error: pathspec 'MicrosoftEdgeBackups' did not match any file(s) known to git
error: pathspec 'Music' did not match any file(s) known to git
error: pathspec 'My Documents' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{5cf6d204-1246-11ec-aeae-6014b3cb7414}.TM.blf' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{5cf6d204-1246-11ec-aeae-6014b3cb7414}.TMContainer00000000000000000001.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{5cf6d204-1246-11ec-aeae-6014b3cb7414}.TMContainer00000000000000000002.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e363-144f-11ea-9f8d-ca7ff06787dc}.TxR.0.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e363-144f-11ea-9f8d-ca7ff06787dc}.TxR.1.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e363-144f-11ea-9f8d-ca7ff06787dc}.TxR.2.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e363-144f-11ea-9f8d-ca7ff06787dc}.TxR.blf' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e364-144f-11ea-9f8d-ca7ff06787dc}.TM.blf' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e364-144f-11ea-9f8d-ca7ff06787dc}.TMContainer00000000000000000001.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NTUSER.DAT{abc4e364-144f-11ea-9f8d-ca7ff06787dc}.TMContainer00000000000000000002.regtrans-ms' did not match any file(s) known to git
error: pathspec 'NetHood' did not match any file(s) known to git
error: pathspec 'OneDrive' did not match any file(s) known to git
error: pathspec 'Pictures' did not match any file(s) known to git
error: pathspec 'PrintHood' did not match any file(s) known to git
error: pathspec 'Recent' did not match any file(s) known to git
error: pathspec 'Saved Games' did not match any file(s) known to git
error: pathspec 'Searches' did not match any file(s) known to git
error: pathspec 'SendTo' did not match any file(s) known to git
error: pathspec 'Templates' did not match any file(s) known to git
error: pathspec 'UIDowner' did not match any file(s) known to git
error: pathspec 'Videos' did not match any file(s) known to git
error: pathspec 'VirtualBox VMs' did not match any file(s) known to git
error: pathspec 'Yinxiang Biji' did not match any file(s) known to git
error: pathspec 'eclipse' did not match any file(s) known to git
error: pathspec 'ntuser.dat.LOG1' did not match any file(s) known to git
error: pathspec 'ntuser.dat.LOG2' did not match any file(s) known to git
error: pathspec 'ntuser.ini' did not match any file(s) known to git
error: pathspec 'sangfor' did not match any file(s) known to git
error: pathspec 'source' did not match any file(s) known to git
error: pathspec 'uniformat-code' did not match any file(s) known to git
error: pathspec '「开始」菜单' did not match any file(s) known to git
(master)
=========================================
$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using
git remote add <name> <url>
and then push using the remote name
git push <name>
(master)
=========================================
$ git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> master
=========================================
$ git commit * -m ""
error: '' does not have a commit checked out
fatal: updating files failed
$ git push
warning: auto-detection of host provider took too long (>2000ms)
warning: see https://aka.ms/gcm/autodetect for more information.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Everything up-to-date
更多推荐
所有评论(0)