Gast
#6068651
Hallo, ich möchte ein alias für git erstellen. loggrep = !git log --grep das funktioniert auch schon mit z.B. git loggrep 'test' jetzt möchte ich im alias auch gerne noch das attribut --ingnore-case verwenden. wenn ich das aber hinter --grep hänge also: loggrep = !git log --grep --ignore-case und es aufrufe bekomme ihc den fehler fatal: ambiguous argument 'test': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' ich kann -i natürlich auch beim aufruf mit angeben. Da ich es aber eh immer verwende, würde ich es auch direkt im alias hinterlegen.