1. Set aliases for common commands in the MAC address

  1. Edit the followingvim ~/.bash_profile
  2. Set the aliases of common commands
alias pull='git pull origin'
alias push='git push origin'
alias add='git add .'
alias commit='git commit -m'
alias checkout='git checkout'
alias status='git status'
Copy the code
  1. Update the followingsource ~/.bash_profile
  2. have fun~

Note: there is no space before and after the = of alias!

To be continued…