linux добавяне на псевдоним
# syntax
# alias *<alias-name>="*<what-alias-represents>"
# example
alias ll="ls -lrt"
екип псевдоними git bash
Follow below steps:
a) Open the file .bashrc which is found in location C:\Users\USERNAME\.bashrc
If file .bashrc not exist then create it using below steps:
1. Open Command Prompt and goto C:\Users\USERNAME\.
2. Type command notepad ~/.bashrc
It generates the .bashrc file.
b) Add below sample commands of WP CLI, Git, Grunt & PHPCS etc.
# ----------------------
# Git Command Aliases
# ----------------------
alias ga='git add .'
alias gaa='git add .'
alias gaaa='git add --all'
# ----------------------
# WP CLI
# ----------------------
alias wpthl='wp theme list'
alias wppll='wp plugin list'
списък на псевдонимите на git
# Setup short form of commands to save keystrokes
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.ci commit
git config --global alias.st status
псевдоними git
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.com commit
git config --global alias.stat status
git псевдоним добавите и заключване
git config --global alias.ac '!git add -A && git commit -m'
псевдоним git
$ git config --global alias.co checkout
$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st status