How to get aliases working in .gitconfig?
alias, git
Solution
I believe what GitHub is referring to is system aliases, not '.gitconfig' aliases.
In other terms, you would need to type, like illustrated here, the following Unix command to make those 'aliases' work:
alias g=’git’
alias gb=’git branch’
alias gba=’git branch -a’
alias gc=’git commit -v’
alias gca=’git commit -v -a’
alias gd=’git diff | mate’
alias gl=’git pull’
alias gp=’git push’
Problem
Github has the following recommendation for global git configuration `~/.gitconfig`: ``` [alias] # Is this [-] only a comment in .gitconfig? gb = git branch gba = git branch -a gc = git commit -v gd = git diff | mate gl = git pull gp = git push gst = git status ``` The above commands worked in my old Git. However, they do not work now for some unknown reason. The problem seems not to be in the commands. It is perhaps in another git related file which controls which file affects aliases. How can you get the aliases to work?