Merge

  1. 더 상단에 있는 브랜치로 이동
  2. git merge <branch명>
  3. push
  4. 브랜치 삭제
git checkout develop
git merge MainoView/Camera
git push
git g
git push origin --delete MainView/Camera

branch push

# 생성
git branch 브랜치명

# 이동
git checkout 브랜치명

# 생성 후 이동
git checkout -b 브랜치명

# remote 브랜치 생성
git push origin 브랜치명

# local, remote 브랜치 연동
	git branch --set-upstream-to origin/브랜치명

branch최신화

git fetch // 현재 브랜치에서 최신화
git pull origin [base 브랜치명] // fetchhead에 브랜치명 담기

커밋 초기화

# 최근 커밋 내역 삭제
git reset HEAD^

# reset 취소
git reset HEAD@{1}

Error

# 1MB 초과 -> git 설정에서 개별 파일의 최고 크기 늘려주기
#fatal: the remote end hung up unexpectedly
git config --global http.postBuffer 104857600

git ignore 안 먹힘