blob: 8b63ceb00e71a5e2f09cf7686b0978dcf71d1e03 [file] [log] [blame]
Junio C Hamano3f971fc2005-08-14 17:24:36 -07001git-whatchanged(1)
2==================
Junio C Hamano3f971fc2005-08-14 17:24:36 -07003
4NAME
5----
Fredrik Kuivinen7bd7f282006-03-09 17:24:50 +01006git-whatchanged - Show logs with difference each commit introduces
Junio C Hamano3f971fc2005-08-14 17:24:36 -07007
8
9SYNOPSIS
10--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040011[verse]
Jonathan Niederb1889c32008-06-30 01:09:04 -050012'git whatchanged' <option>...
Junio C Hamano3f971fc2005-08-14 17:24:36 -070013
14DESCRIPTION
15-----------
Junio C Hamano3f971fc2005-08-14 17:24:36 -070016
Junio C Hamano52f425e2013-08-09 13:01:48 -070017Shows commit logs and diff output each commit introduces.
Junio C Hamano3f971fc2005-08-14 17:24:36 -070018
Junio C Hamano52f425e2013-08-09 13:01:48 -070019New users are encouraged to use linkgit:git-log[1] instead. The
20`whatchanged` command is essentially the same as linkgit:git-log[1]
21but defaults to show the raw format diff output and to skip merges.
Junio C Hamano3f971fc2005-08-14 17:24:36 -070022
Junio C Hamano52f425e2013-08-09 13:01:48 -070023The command is kept primarily for historical reasons; fingers of
24many people who learned Git long before `git log` was invented by
25reading Linux kernel mailing list are trained to type it.
Junio C Hamano3f971fc2005-08-14 17:24:36 -070026
Denis Cheng53483372008-03-02 17:05:51 +080027
Linus Torvaldsbd663612005-10-30 20:05:32 -080028Examples
29--------
Jeff King5d2fc912011-08-03 20:13:29 -060030`git whatchanged -p v2.6.12.. include/scsi drivers/scsi`::
Linus Torvaldsbd663612005-10-30 20:05:32 -080031
32 Show as patches the commits since version 'v2.6.12' that changed
33 any file in the include/scsi or drivers/scsi subdirectories
34
Jeff King6cf378f2012-04-26 04:51:57 -040035`git whatchanged --since="2 weeks ago" -- gitk`::
Linus Torvaldsbd663612005-10-30 20:05:32 -080036
37 Show the changes during the last two weeks to the file 'gitk'.
38 The "--" is necessary to avoid confusion with the *branch* named
39 'gitk'
40
Junio C Hamano3f971fc2005-08-14 17:24:36 -070041GIT
42---
Christian Couder9e1f0a82008-06-06 09:07:32 +020043Part of the linkgit:git[1] suite