You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
git log -p や git diff などで差分を見るとき、行単位での追加/削除は表示されるが、行の中のどこが変わったのかは表示してくれない。例えば行の中の一単語を書き換えただけで、しかもその行が長い場合、どこに差分があるのか目で探すのが結構大変だった。 しかし先日、 diff-highlight という便利なモジュールが提供されていることを知り、早速導入してみた。 diff-highlightとは github.com gitコマンドの、行単位での差分を探す動作のポストプロセスとして実行され、同じ行の中の差分をハイライトしてくれる。 例えば、行の一部分だけ変えたときの git diff は、今までこんな感じだった。 それがこうなる。差分がわかりやすい。 diff-highlightの設定 この機能は gitコマンドに同梱されているため、インストールは不要。設定作業のみで使える。 ま
B! 258 0 0 0 Vimのdiffモード機能はVimを使うべき一つの大きな理由になるくらい便利なものだと思います。 違いを見るためだけでも左右に並べて見れるので diffコマンドなんかよりもよりわかりやすく見ることが出来ます。 そのdiffモード関連のVimの機能やプラグイン等のまとめ。 vim -d vimdiff :diffsplit diffモードでの操作 diffモードの設定 :DiffOrig linediff.vim vcscommand.vim diffchar.vim vim-diff-enhanced vim -d 2つの似たようなファイルを比べたい時に $ vim -d a.txt b.txt とすると2つを比べた状態でファイルを開くことが出来ます。 3つ以上同時に比較することも可能です。 diffモードでは以下のオプションがセットされます。 diff: on,
Usage The package can be used in two different ways: per command line through an object Command-Line usage The command-line tool can be found in the bin directory. You can run the application with Use image1 and image2 as the images you want to compare. Only PNGs are supported at this point. The command-line tool exposes a couple of flags and parameters for the comparison: --verbose Turn on verbos
Your terminal can display color, but most diff tools don't make good use of it. By highlighting changes, icdiff can show you the differences between similar files without getting in the way. This is especially helpful for identifying and understanding small changes within existing lines. Instead of trying to be a diff replacement for all circumstances, the goal of icdiff is to be a tool you can re
2.45.1 → 2.45.2 no changes 2.45.0 04/29/24 2.44.1 → 2.44.2 no changes 2.44.0 02/23/24 2.43.2 → 2.43.5 no changes 2.43.1 02/09/24 2.43.0 11/20/23 2.42.2 → 2.42.3 no changes 2.42.1 11/02/23 2.42.0 08/21/23 2.41.1 → 2.41.2 no changes 2.41.0 06/01/23 2.40.1 → 2.40.3 no changes 2.40.0 03/12/23 2.39.1 → 2.39.5 no changes 2.39.0 12/12/22 2.38.1 → 2.38.5 no changes 2.38.0 10/02/22 2.37.3 → 2.37.7 no chang
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く