11.4.4 부모 커밋

    parent/child 폴더의 저장소에서 수정 작업을 했습니다. 이제 상위 메인 저장소로 이동하여 부모 저장소의 상태를 다시 확인해 보겠습니다.

    360036.jpg

    infoh@DESKTOP MINGW64 /e/gitstudy11_parent/child (master)

    $ cd .. 메인 저장소로 이동

     

    infoh@DESKTOP MINGW64 /e/gitstudy11_parent (master)

    $ git status 상위 폴더의 상태 확인

    On branch master

    Your branch is ahead of 'origin/master' by 1 commit.

    (use "git push" to publish your local commits)

     

    Changes not staged for commit:

    (use "git add <file>..." to update what will be committed)

    (use "git checkout -- <file>..." to discard changes in working directory)

    modified: child (new commits)

     

    no changes added to commit (use "git add" and/or "git commit -a")

    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.