Creating a 'git log' alias with formatting
问题 I have a bunch of git aliases already set up in my .bash_profile that work correctly: alias gst="git status" alias gl="git pull" alias gp="git push" alias gd="git diff | mate" alias gc="git commit -v" alias gca="git commit -v -a" alias gb="git branch" alias gba="git branch -a" I'm trying to add an alias for the following command, but keep running into an error: git log --all --pretty=format:'%h %cd %s (%an)' --since='7 days ago' What I'd like to do, is be able to type: glog 'some amount of