Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gitlab에 이미 push된 commit 삭제 | Seha's Devlog #118

Open
sehajyang opened this issue Oct 18, 2019 · 0 comments
Open

gitlab에 이미 push된 commit 삭제 | Seha's Devlog #118

sehajyang opened this issue Oct 18, 2019 · 0 comments

Comments

@sehajyang
Copy link
Owner

https://sehajyang.github.io/2019/03/11/2019-03-11-git-reset-push/

gitlab, github등에 취소해야 되는 commit이 있는데 이미 push 해버렸을 때git bash에서 1git reset --hard 되돌아가고자 하는 커밋주소 커밋 주소는 git log 로 알 수 있다 reset 옵션으론 hard, soft, mixed 가 있다 링크 그 후 1git push origin +브랜치명 브랜치 명 앞에 +를 붙

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant