gitree icon indicating copy to clipboard operation
gitree copied to clipboard

Ability to set default options

Open aSemy opened this issue 4 years ago • 2 comments

It would be nice to be able set the default options.

For now I've created a git alias

zsh:

git config --global alias.tree "\!gitree -m -c"

./git/config file:

[alias]
	tree = "!gitree -m -c"

Usage:

image

aSemy avatar Apr 12 '21 09:04 aSemy

I'll be harsh and say that the git alias you've created is probably the best way to do this!

A really nice little snippet to have though; I'll use to issue to make sure that it's added to the README.md for other users. <3

jpwilliams avatar Apr 12 '21 14:04 jpwilliams

It's not harsh at all :) I thought I'd leave an issue in any case so that other people can see it's an option.

aSemy avatar Apr 12 '21 15:04 aSemy