Git Status, Git Commit, Git Add

To Edit File in Git

cd to directory: vi views/index.jade (File Name)
Edit the file in VI Editor and save :qw!

To see Status: git status

# On branch master
# Changes to be committed:
# (use “git reset HEAD <file>…” to unstage)
# modified: views/index.jade

To Commit

git commit -m “change header text

[master 43185e0] change header text
1 file changed, 2 insertions(+), 2 deletions(-)


Published by Aryan Nava

Founder of "BlockchainMind", CTO for two Blockchain startup during 2018, Cloud/DevOps Consultant and Blockchain Trainer

Leave a Reply

Please log in using one of these methods to post your comment: Logo

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: