FG
💻 Software

Git log alias - fatal: ambiguous argument '%ad': unknown revision or path

Fresh5 days ago
Mar 15, 202612615 views
Confidence Score0%
0%

Problem

I'm trying to use Git Immersion's log alias: but Git responds with using v1.6.1. All I've done so far is two commits on master then one on a branch. This alias works for me elsewhere, what could be the problem on this particular machine? Edit - Based on lesmana's suggestion below, I was able to det…

Error Output

[alias]
    hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Git log alias - fatal: ambiguous argument '%ad': unknown revision or path

Low Risk

Here is the source of the error message: You will get the same error message from the following two commands: The problem is that receives the following two arguments: (or ) and . The rest, at least when executed directly as a command in bash, is a …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment