yoshiislandblog.net
駆け出しアラサーSEが、休日にMACと戯れた際の殴り書きメモ。日々勉強。日々進歩。
公開日:2016-05-25 更新日:2021-01-30
Git
GitHubで間違えてpushをしてしまい、履歴ごと消し去りたい時。
こちらのサイトが役立ちました。 http://blog.toshimaru.net/git-pushgithub/
#履歴の番号を確認 $ git log --oneline 345cde commit3 234bcd commit2 123abc commit # <-ここまで戻りたい $git rebase -i 123abc $git push -f
よかったー
About me
Popular Posts
Recent posts
Bookmarks
Categories
Line stamp
僭越ながら販売中
Amazon
Links
Follow me
QooQ