git

도봅·2023년 4월 22일

삭제된 파일 복구

# 삭제된 파일 리스트 확인
git ls-files -d
# 삭제된 파일을 다시 받기
git ls-files -d | xargs git checkout --

특정 branch로 바꾸기

git checkout -b myBranch

profile
랑인입쇼

0개의 댓글