Quick Reference Git

Commit message

Option 1:

git commit -m "<commit message>"

Option 2 (using vim):

git commit
  1. To start editing commit message type i
  2. To stop editing commit message press ESC key
  3. To save (:w) and quit (:q) type :wq

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s