본문 바로가기
Programming/Git

git force push

by Chan_찬 2020. 6. 18.
728x90

local 로 remote 덮어쓰기

master branch에서는 하지 않기를 바란다
대부분 서브 브랜치에서 스쿼시 후에 많이 사용

 $ git push -f
728x90
728x90

'Programming > Git' 카테고리의 다른 글

git push 전에 할일 - PR 시 conflict  (1) 2023.01.25
squash - git commit을 깔끔하게  (0) 2020.06.22
git stash - 작업 임시 저장  (0) 2020.06.16
git pull overwrite  (0) 2020.06.10
git pull without login - for gitlab  (0) 2020.06.09
Buy me a coffeeBuy me a coffee

댓글