Some useful git commands

Summary

  • Remove origin
  • View origin
  • Stashing

Remove origin


git remote remove origin

View origin 


git remote -v origin

Delete all staging changes

All files that are added (git add .) are said to be under staging


git stash

Advertisements
Some useful git commands

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s