git status 했을 때,

# On branch master
# Your branch is ahead of 'origin/master' by 11 commits.
#
nothing to commit (working directory clean)



이라고 나오면, remote master로 push를 해야 한다.

git remote show origin
을 실행해서 origin/master가 어디인지(git이보기에) 확인하고,

git diff origin/master
를 실행해서 차이점이 있는지 본다.

마지막으로
git push origin

을 실행하면 된다.


'리눅스 > 스크립트/유틸' 카테고리의 다른 글

[Makefile] if 문 사용하여 파일 존재 여부 확인  (0) 2012.10.19
tar 분할 압축하기  (0) 2012.10.17
byobu 로그인 시 자동 실행  (0) 2012.09.27
svn -> git merge 하는 법  (0) 2012.09.19
svn tree conflicts 1  (2) 2012.09.18
Posted by code cat