This content originally appeared on DEV Community and was authored by hardyweb
Assalamualaikum
Semalam, terjumpa satu kes, dimana, aku tak dapat clone sistem dari git repository.
Git respon
Cloning into 'xxxxx'...
Username for
Password for
remote: Enumerating objects: 2644, done.
remote: Counting objects: 100% (2644/2644), done.
remote: Compressing objects: 100% (1677/1677), done.
remote: Total 2644 (delta 1725), reused 1555 (delta 913)
Receiving objects: 100% (2644/2644), 7.68 MiB | 958.00 KiB/s, done.
Resolving deltas: 100% (1725/1725), done.
**error: Invalid path '\' **
Checking out files: 100% (827/827), done.
apa sebenarnya yang berlaku adalah, aku secara tidak sengaja mencipta atau simpan file dengan nama "\" dan telah pull file tersebut ke dalam repository.
Cara baiki,
- Git pull
- rm "\"
- Git commit -am "lorem ipsum"
- git push origin main.
This content originally appeared on DEV Community and was authored by hardyweb

hardyweb | Sciencx (2024-09-25T03:24:28+00:00) Accidently create file name “\” in development folder. Retrieved from https://www.scien.cx/2024/09/25/accidently-create-file-name-in-development-folder/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.