How to Use zsh Alias

It’s very convenient to use an alias instead of full command. So, let’s see how we can make some aliases for git command โ€“ To make an alias, open the terminal and write the command below โ€“ Write some aliases โ€“ alias gs=”git status”alias ga=”git add”alias gm=”git commit -m”alias bci=”brew cask install” Colse and save …

How to Use zsh Alias Read More »

WPCS with Visual Studio Code

Installation The easiest way to get started with PHP_CodeSniffer is to download the Phar files for each of the commands: # Download using curl curl -OL curl -OL # Or download using wget wget wget # Then test the downloaded PHARs php phpcs.phar -h php phpcbf.phar -h Composer

Git Command

Go to the directory you want to initiate Gitย and then follow the commands: Initiate the git: git init Remove Git if you have initiated in a wrong place ( Be aware if there is another git in the subdirectory): rm -rf .git To add all the files(including subdirectory) to staging step: git add -A