You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 현재 폴더 Git 초기화
git init
## sparse-checkout 모드 활성화
git config core.sparseCheckout true## git remote 연결. 본인이 fork 한 레퍼지토리 주소를 입력한다.
git remote add -f origin https://github.com/olrlobt/Algorithm.git
## sparse-checkout 모드에서 자신의 폴더만 checkout 하도록 설정한다.
git sparse-checkout set LeeSeungheon
## main 브랜치를 pull한다. << 앞서 설정한 폴더만 pull된다.
git pull origin main
3. 이제 IDE에 혼자 있을 수 있다.
4. Git Staged에도 내 폴더를 제외한 폴더의 삭제, 변경 내역이 반영되지 않는다.