Skip to content

Instantly share code, notes, and snippets.

@eduncan911
eduncan911 / Revert-Gist.md
Last active July 20, 2023 09:41
Revert Gist Commits

Revert / Undo a Gist Commit

It was not exactly obvious. Here's how to revert a Gist commit!

Checkout the gist like a normal git repo:

# replace the Gist ID with your own
git clone git@github.com:cc13e0fcf2c348cc126f918e4a3917eb.git

Treat it like a normal repo. Edit, force push, etc.

@kohashi
kohashi / on_tortoiseGit_pull_request.ja.markdown
Created March 28, 2012 16:47
tortoiseGitから、gitHub上のpull requestを解決する

tortoiseGitから、gitHub上のpull requestを解決する

pull requestでは、ファイルの更新がかち合っただけでgitHubのWebページ上では編集できなくなる。

gitHubのヒントに、コマンドベースで解決する方法は載っているが、win上でtortoiseGitを使っている場合に面倒なので解決策を記してみる。


gitHubで出てくるコマンドはこんな感じ :