아래와 같은 알림이 뜰 때가 있습니다.
This branch is 1 commit behind master.
로컬에서 다음과 같이 작업합니다.
$ git remote -v //upstream이 등록돼있는지 확인합니다.
$ git remote add upstream [git주소] //아니라면 upstream을 등록합니다.
$ git pull upstream //또는 git fetch upstream
$ git merge upstream/master
$ git push
성공적으로 완료되면 알림이 바뀝니다.
This branch is even with master.
'프로그래밍 > 개발환경' 카테고리의 다른 글
fail2ban이 iptables에 chain을 만들지 못하는 현상 (0) | 2020.11.28 |
---|---|
GitHub에 status badge를 달기 (0) | 2020.11.07 |
우분투에서 electron/puppeteer 실행시 오류 (libX11-xcb.so 등) (0) | 2020.11.05 |
IntelliJ / CLion / AndroidStudio / PyCharm 등에서 폰트 안뜨는 문제 (0) | 2019.03.23 |
VFS for Git: Git at Enterprise Scale (0) | 2019.02.12 |