git clone 에러

오서현·2023년 5월 13일
0

error: invalid path 'AIrplane_Fe/src/images/airplane.png:Zone.Identifier'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

  • git clone을 하려는 clone을 성공했지만 checkout은 실패했다는 에러가 뜬다!

해결방법

  1. git clone [git repo address] [file name]
  2. 에러 뜸
  3. 생성한 파일에 진입: cd [file name]
  4. git status
  5. git clean -f
  6. git restore --source=HEAD :/

0개의 댓글