0
1

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.

git > commit間で変更したファイル名のうち.cppを確認する > git diff --name-only 344c53a f140f0b | grep \\.cpp

Last updated at Posted at 2017-03-14
動作環境
C++ Builder XE4
Source Tree v.1.6.22.0
Windwos 7 Pro (32bit)

gitリポジトリにて2つのcommit間で変更したファイル名のうち、.cppと.hを確認したい。

参考 http://stackoverflow.com/questions/1552340/how-to-list-the-file-names-only-that-changed-between-two-commits

SourceTreeにおいてターミナルから以下を実行することで.cppの変更が分かる。

$ git diff --name-only 344c53a f140f0b | grep \\.cpp

The same goes for .h files.

$ git diff --name-only 344c53a f140f0b | grep \\.h
0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?