GIT-DAG(1)
π GIT-DAG(1) π
okay bestie, pull up a chair, we're gonna talk about git-dag from the Git Cola manual, and honestly? it's giving main character energy.
β¨ NAME β¨
git-dag β the sleek and powerful Git history browser π¦
no fr, that's the actual description and it is not overselling it.
π SYNOPSIS π
git dag [options] [<revision-range>] [[--] [<path>...]]
^(yes the command is literally git dag, not git-dag. iykyk. π
)
π DESCRIPTION π
git-dag is an advanced Git history visualizer, okay? like, it takes all the powerful features of git log and serves them to you in an easy to use graphical interface. no cap. it's the glow-up git log deserved. π
β¨ OPTIONS β¨
<revision-range>
<revision-range>β show only the commits in the revision range you name. if you don't specify one, it defaults toHEAD(aka the whole history leading up to your current commit, the entire saga πΈ).
origin..HEAD specifies all the commits reachable from the current commit (i.e. HEAD), but not from origin. very "what have i done since i branched off" energy.
for a complete list of ways to spell <revision-range>, see the Specifying Ranges section of gitrevisions(7) <https://git-scm.com/docs/gitrevisions> (man gitrevisions). go read it, bestie, there are so many ways to spell it.
the rest of the flags π
--promptβ prompt for a Git repository instead of just using the current directory. she asks nicely first. π-r,--repo<path>β open the git repository located at<path>. defaults to the current directory.--versionβ print the version number and exit. short and iconic.-h,--helpβ show usage and optional arguments. the "help me bestie" button π«Ά
π§ LOG ARGUMENTS π§
the Log text field lets you pass arguments to git log. it's how you filter the displayed history. for example? entering
main -- Makefile
will display only commits on the main branch that touch the Makefile. so specific, so demure. π
and the Log text field also lets you interactively edit and replace the [<revision-range>] [[--] [<path>...]] arguments that you initially specified on the command-line. live edits, no restart, we love a flexible queen. β¨
π CONTEXT-MENU ACTIONS π
the right-click menu can be used to do β¨various actionsβ¨. all actions operate on the selected commit, so make sure you actually picked one, bestie, don't be chaotic.
you can create branches and tags, cherry-pick commits, save patches, export tarballs, and grab files from older commits β all using the context menu. it's giving swiss army knife but make it cute. π₯
π DIFF COMMITS π
you can diff arbitrary commits! here's the move: select a single commit in either the list view or the graph view, and then right-click on a second commit.
a menu will appear allowing you to diff the two commits. literally that easy. ate. π
β SHORTCUTS β
you can run commands using dedicated shortcuts. select a single commit and then press:
- Ctrl+Alt+c to copy sha1
- Ctrl+d to run the diff tool
you can read more about hotkeys from the 'keyboard shortcuts' window or the context menu. π¦
πΈ CONFIGURATION VARIABLES πΈ
log.date
log.dateβ set the default date-time format for the 'Date' field. setting a value forlog.dateis similar to usinggit log's--dateoption. possible values arerelative,local,default,iso,rfc, andshort; seegit-log(1)for details. pick your vibe. π
π AUTHOR π
David Aguilar and contributors π (the icons, the legends)
no warnings in this one bestie, just vibes and a very pretty git history. but like, always read your gitrevisions(7), okay? π«Ά
that's the whole page, you're welcome, go visualize some commits. this was Git Cola version 4.19.0, dated Jul 18, 2026 β periodt. π
β¨π
π¦ where this page comes from
- ubuntu stonking: git-cola 4.19.0-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms