Month: September 2020

How to Update WPCS with Composer?

composer global require squizlabs/php_codesniffer
composer global require wp-coding-standards/wpcs
composer global require phpcompatibility/php-compatibility
composer global require dealerdirect/phpcodesniffer-composer-installer
How to Add SSH Key to GitLab?

How to Add SSH Key to GitLab?

It’s very important to add an SSH key to GitLab to work on a remote project what is hosted on GitLab. Let see how we can do that –
We working on a Mac to set up this key –
1. Go to your terminal and write the command below –

ssh-keygen -t rsa -C "[email protected]"

Press Enter (to make a file with the default name)
Type ‘y’ (to overwrite
Press Enter (to skip passphrase)
2. To see the generated key type :

cat ~/.ssh/

Copy the key and paste it to your GitLab profile.

Done 🙂

Now start pull / push / clone etc. commands.