git add error
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: a.exe
Untracked files:
(use "git add <file>..." to include in what will be committed)
write_to_the_name_can_change_file/
no changes added to commit (use "git add" and/or "git commit -a")
tssh@DESKTOP-9LP9IL5 MINGW64 ~/source/repos/Project1/c_plus_write_and_read_file/c_plus_write_and_read_file (master)
$ git add write_to_the_name_can_change_file/
error: open("write_to_the_name_can_change_file/tzt.txt "): No such file or directory
error: unable to index file 'write_to_the_name_can_change_file/tzt.txt '
fatal: adding files failed
。。。。。。。。。。。。。。。。。。。。。。。。。。。。
使用下面的方法進行測試
tssh@DESKTOP-9LP9IL5 /cygdrive/c/Users/tssh/source/repos/Project1/c_plus_write_and_read_file/c_plus_write_and_read_file/write_to_the_name_can_change_file
$ rm tzt.txt\
tssh@DESKTOP-9LP9IL5 /cygdrive/c/Users/tssh/source/repos/Project1/c_plus_write_and_read_file/c_plus_write_and_read_file/write_to_the_name_can_change_file
$ ls
a.exe write_to_the_name_can_change_file.cpp
相關文章
- git add all和git add .區別Git
- 撤銷git addGit
- git add命令詳解Git
- 使用 git add -p 整理 patchGit
- oracle asm diskgroup add datafile error problemOracleASMError
- Git pull errorGitError
- git add 新增錯檔案 撤銷Git
- 使用git add 遇到的小問題Git
- Git不能add含有漢字檔案Git
- 從只會git add .的菜鳥到掌握git基本功能Git
- GIT add檔案報錯:git warning: LF would be replaced by CRLF 解決方案Git
- ssh-add 報錯:Error connecting to agent No such file or directoryError
- git提交出現error:YourlocalchangestothefollowingfileswouldbeoverwrittenbycheckoutGitError
- Ubuntu git pull 出現Permission denied ErrorUbuntuGitError
- git push報錯error: failed to push some refs to 'git@github.com:ErrorAIGithub
- git add .出現錯誤LF will be replaced by CRLF in 解決辦法Git
- git進階(撤銷pull、撤銷merge、撤銷add)Git
- git error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500GitErrorRPCAIHTTP
- yarn add cross-env 出現 protocol error, symlink 解決方案YarnROSProtocolError
- git (v2.18.0) error setting certificateGitError
- yarn add @fortawesome/Font Awesome-free 之後 報錯 EIO: i/o errorYarnError
- Git(6)-- 記錄每次更新到倉庫(git clone、status、add、diff、commit、rm、mv命令詳解)GitMIT
- 詳解gitignore的使用方法,讓你盡情使用git add .Git
- CMake Error: add_executable cannot create target ““ because another target with the same name已解決Error
- add exttrail 和add rmttail總結AI
- jQuery add()jQuery
- git push fatal: HttpRequestException encountered. An error occurred while sending the requestGitHTTPExceptionErrorWhile
- Git bash Error: Could not fork child process: There are no available terminals (-1)GitErrorAI
- 解決 Jenkins 上 git 出現的 “ERROR: Error fetching remote repo 'origin'” 問題JenkinsGitErrorREM
- MongoDB 備份恢復啟動後執行操作報錯:Error:couldn't add user:not masterMongoDBErrorAST
- error: pathspec ‘myupstream‘ did not match any file(s) known to gitErrorGit
- VS 2017 Git failed with a fatal error的解決辦法GitAIError
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- DataTransferItemList.add()
- add field security
- git-topic/V1.0拉取遠端分支程式碼,merging,iconfont addGit
- 痞子衡嵌入式:第一本Git命令教程(4)- 轉移(add/rm/mv)Git
- git推送到github報錯:error: The requested URL returned error: 403 Forbidden while accessing https://github.comGithubErrorORBWhileHTTP