DB, 인프라/Github

vscode 에서 synchronize changes 와 push 의 차이점

IT여행 2022. 11. 3. 22:55

 

 

changes 목록중 파일명 우측의 + 를 누르면 staged change 로 올려지고 메세지와 함께 commit 단추를 누른후에도 깃허브에 업로드가 되지 않았다면 하단의 빨간네모로 표시된 synchronize changes 버튼을 누르면 깃에 정상업로드 된다.

 

여기서 synchronize changes 는 깃에 최종 업로드하는 push와 무슨 차이가 있을까 ? 

 synchronize changes 는 pull 과 push 를 동시에 하여 동기화 상태로 맞춰주는 역할을 한다. 

 

관련 stackoverflow 링크 : https://stackoverflow.com/questions/71827949/vs-code-git-lens-does-sync-changes-sync-or-push