-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changing the alias for git visual from gitk #1702
Comments
We cover "Git Aliases" in chapter 2.7 so we could mention your What do you think @ben? |
First of all, But your alias is useful! I'd definitely accept it as an example alias in that section. 😀 |
|
General overview of your idea.
On page 69, the command to show the graph is introduced.
git log --oneline --decorate --graph --all
Rather than set alias for
visual
togitk
, I did:git config --global alias.visual 'log --oneline --decorate --graph --all'
because it is a longer command thangitk
, this command keeps everything in the terminal so it is unified in the sense that it isgit visual
where asgitk
differs with thek
appending with no space so it signals a change to GUI for me.What problem will this solve?
New users don't have to remember a super long command and it's clearer what the intentions are.
Have you thought about other solutions?
I could set an alias in
~/.bashrc
instead for any number of commands as I am on Ubuntu.I am answering yes I want to help but if there is someone who can implement it faster than I, I'd like to tag along to learn.
Do you want to help with this enhancement idea?
Yes
The text was updated successfully, but these errors were encountered: