콘텐츠로 이동
Search

Git:Revert

Remote revert

$ git reset --hard <commit-hash>
$ git push -f origin master

참고로 gitlab과 같은 서비스를 사용할 경우 branch의 보호모드(Protected Branches)를 제거해야 한다.

Remove file

Git:FilterBranch 항목을 참조.

실수를 되돌리는 방법들

Git#실수를 되돌리는 방법들 항목 참조.

See also

lastmod 2023-04-22created 2023-04-22author Zer0 sitemap