file-history¶
Shortcut: fh
Help option
~ $ dk file-history --help
Current context is: default
Usage: dk file-history [OPTIONS] FILEPATH
Show file change history.
Options:
-cc, --change_count INTEGER Number of last changes to display
--help Show this message and exit.
Show file history using shortcuts
~/Kitchens/Dev_Sprint/Recipe1 $ dk fh --cc 5
Current context is: default
YYYY-MM-DD HH:MM:SS - Retrieving file history
DKCloudCommand.file_history succeeded:
Author: John Smith <jsmith@acme.com>
Date: YYYY-MM-DD HH:MM:SS
Commit: 1325768c8048f96ed15350b9374fc95f3cefeb1f
Message:Merge Feature_Sprint Kitchen into Dev_Sprint Kitchen
Author: John Smith <jsmith@acme.com>
Date: YYYY-MM-DD HH:MM:SS
Commit: 585d9667c7442e53b953bae3a50908619d378eb7
Message:Update graph.json nodes and edges
Author: John Smith <jsmith@acme.com>
Date: YYYY-MM-DD HH:MM:SS
Commit: b7edf5434a8a3e362f3f1c69452494cefd597bd4
Message:Recipe update for new node
Author: John Smith <jsmith@acme.com>
Date: YYYY-MM-DD HH:MM:SS
Commit: 71e2d76a7b0c46e53a51bb196d62cdb24f1ee182
Message:Update graph.json
Author: John Smith <jsmith@acme.com>
Date: YYYY-MM-DD HH:MM:SS
Commit: f0db74b10545050344fa2180eff13ede33e2a05e
Message:Debug graph.json syntax