티스토리 뷰

    gitHub에서 소스 내려받기

    git clone  https://github.com/angular/quickstart  my-proj
    cd my-proj

    .git 디렉토리 삭제

    rm -rf .git  // non-Windows
    rd .git /S/Q // windows

    로컬 git 레포지토리 생성 및 commit

    git init
    git add .
    git commit -m "Initial commit"

    내 gitHub에 올리기(gitHub에 미리 repository생성되어 있어야 됨)

    git remote add origin <repo-address>
    git push -u origin master


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30