Tuesday, 22 July 2014

.bashrc file to give shortcut names to commands........in ubuntu

$vi ~/.bashrc

press -->i to insert text..

alt+/--->type word alias...>to search for alias word

then write below statement..

alias gs="git status"

Open terminal and type.."gs" ---it will work like a git status command........



No comments:

Post a Comment