ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • git 기본 사용법
    카테고리 없음 2020. 3. 5. 18:43

    초기화부터 push까지

    git init

    git remote add origin <Repository>

    git add *

    git commit -m <Commit messege>

    git push origin master

     

     

    Remote 저장소에서 특정 파일 제거

    git rm -r --cached <Files/Dirs>

     

     

    Local 저장소와 remote 저장소 모두 특정 파일 제거

    git rm -r <Files/Dirs>

     

     

    .gitignore에 track하지 않을 파일들 기입

Designed by Tistory.