latest articles

  • git cheat

    how to pull from remote git repository and override the changes in my local repositorygit fetch origingit reset --hard origin/{your branch}Unstage all the changesYou can unstage files from the inde...

    read more .....

  • Unix cheat

    recursively search for a value in all files present in a directorygrep -rnw '/path/to/somewhere/' -e 'pattern'-r or -R is recursive,-n is line number, and-w stands for match the whole word.-l (lowe...

    read more .....