$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........
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