-
Notifications
You must be signed in to change notification settings - Fork 0
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
git reset で履歴を残さずコミットを消す #13
Comments
issue/13-git_reset
※2ndミスった
|
git log
結論
|
追記〇疑問点 |
ーーーーーーーーーーーーーーーーーーーーー
|
mainにマージした |
git logに記載有
|
|
git logにはない
プルリクにもある なら、
ということはorigin上のmainには既にない?
GitHub上の コードからも、histryではコミットが履歴すら無く。 プルリクからは辿れる 〇結論
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git filterよりお手軽に消す方法?の動作確認。
傷が浅いときのみ有効。
$ git reset --hard [タグ?]
$ git push -f origin [branch]
git reset --オプション
The text was updated successfully, but these errors were encountered: