inblog logo
|
Coding_study
    Git/Github

    git pull이 안먹힐 때

    yuzu sim's avatar
    yuzu sim
    Mar 30, 2024
    git pull이 안먹힐 때
     

    git pull Already up to date.

    원격 저장소에서 코드를 가져올 때 , 분명 내 코드는 원격 저장소와 다른데 이렇게 Already up to date라고 뜨며 워킹 디렉토리 (코드들)은 안가져오는 경우가 있다.

    [🚫 해결법!]

    $ git fetch --all $ git reset --hard origin/main
     
    Share article

    Coding_study

    RSS·Powered by Inblog