inblog logo
|
{CODE-RYU};
    git

    git 원격 저장소에서 로컬 저장소로 push 하기

    Jan 25, 2024
    git 원격 저장소에서 로컬 저장소로 push 하기
     
     
    git init git add . git commit -m " 커밋명 " git remote add origin 깃주소
     
    git pull origin master
     
    원격 저장소에서 최신 변경 사항을 로컬 저장소에 가져오는 것
     
    git push --set -upstream origin master
     
    로컬 브랜치를 원격 저장소의 특정 브랜치에 푸시하고, 동시에 해당 로컬 브랜치를 원격 브랜치와 연결
     
    git push origin master // 안되면 강제푸쉬 git push -u origin +master // 강제푸쉬
     
    Share article

    {CODE-RYU};

    RSS·Powered by Inblog