14
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Githubのdiffで空白やスペースを無視する(ブックマークレット付き)

Last updated at Posted at 2018-02-03

commitやPull Requestのdiffの空白、スペースを無視したい場合はURLのパラメータ(末尾)を以下のように書き換えましょう。

before

after

↑を1クリックで実行する(ブックマークレット)

次のリンクをブラウザのブックマークに保存して、diffが見える状態の時に押しましょう。

  • javascript:location.href=location.href+'?w=1';

別タブで開く版

  • javascript:window.open(location.href+'?w=1');

参考記事

14
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?