git 작업 중 원하는 상황에 필요했던 명령어를 정리했습니다.
git log <원격 저장소 별칭>/<local branch>..<repo branch>
예시: git log origin/main..main
// 가장 최근의 stash 작업 불러오기
$ git stash apply
// 원하는 작업 불러오기. stash 이름(ex. stash@{0})
$ git stash apply [stash 이름]
git push -u origin main
git push --set-upstream origin main
-u / --set-upstream 두 가지 경우 모두 로컬 저장소 브렌치를 원격 저장소 브렌치와 연결한다.