This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source Reload | |
alias reload.zsh="source ~/.zshrc" | |
alias reload.profile="source ~/.bash_profile" | |
alias reload.term="source ~/.bash_profile && source ~/.zshrc" | |
# cd | |
alias ..="cd .." | |
# ls | |
alias ll="ls -AlhG" |
If you use git on the command-line, you'll eventually find yourself wanting aliases for your most commonly-used commands. It's incredibly useful to be able to explore your repos with only a few keystrokes that eventually get hardcoded into muscle memory.
Some people don't add aliases because they don't want to have to adjust to not having them on a remote server. Personally, I find that having aliases doesn't mean I that forget the underlying commands, and aliases provide such a massive improvement to my workflow that it would be crazy not to have them.
The simplest way to add an alias for a specific git command is to use a standard bash alias.
# .bashrc
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"