Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • @chiragsorathiya, type cd ~ then vim .bashrc Commented Feb 6, 2018 at 9:33
  • not working alias gc="git commit" and alias gp="git push" Commented Feb 6, 2018 at 9:48
  • @chiragsorathiya did you do echo 'alias gc="git commit"' >> ~/.profile ? You also need to restart the shell. ~ is short for the current users home directory. Commented Feb 6, 2018 at 9:55
  • Nothing but echo 'alias gst="git status"' >> ~/.bashrc worked for me in Ubuntu18.04. Commented Sep 19, 2018 at 13:35