Git commands

The list of Git commands that tackle most everyday routines. Branches The commands to work with local and remote branches. Pull and rebase

Commit difference between branches

Overwrite remote branch with local branch

Useful when it’s need to do restore from local branch. Commits count between branches

–no-merges parameter allow to…

Read More

Linux commands for WEB developers

Copy a folder

What port is used?

Find and delete files greater than a given size

Find out directories using disk space Find a file

Sorting ls command output by file size

to reverse order use -r option. Archive directory

Copy files from remote to local with Rsync

Read More

How to change PHP version in shell

If you have multiple versions of PHP and you want to change PHP version in shell then run the following command:

This will give you a list of all PHP versions installed:

Find version that you need (i.e. /usr/bin/php71). Then open .bashrc (or .bash_profile) and add the following line to the end of…

Read More

Hands-on recipes how to quick tackle the problems.

Sometimes it’s easy to have ready-to-use recipes than scrolling stackoverflow or google.

Add popular recipes to favorites and use it as handbook.