본문 바로가기

Python_Beginer/GIT

[GIT]Get remote Branch information(원격 브랜치 정보)

반응형

1. git_home [ 지역 저장소 ]

$ git log --oneline
$ vim f3.txt
$ git add f3.txt
$ git commit -m "create f3.txt"
$ git log --oneline
$ git push
$ git log --oneline

 

2. git_office [ 지역 저장소 ]

$ git fech
$ ls -la
$ git log --oneline
$ git status
$ git checkout FETCH_HEAD
$ git log
$ git checkout master
$ git merge FETCH_HEAD
$ git log

 

반응형