How to save word documents in GIT

How to use git for version control of files.

  • Open terminal of the directory where the content exists.
  • Right click on the directory, and choose “open in terminal”. (blog)
  • Type “git status” then press enter. That tells you what you need to commit.
  • Open terminal of the directory where the content exists.
  • Right click on the directory, and choose “open in terminal”. (blog)
  • Type “git status” then press enter. That tells you what you need to commit.
    • New things are written in red.
  • Type “git add blog_notes.odt” to add blog_notes.odt to stage.
    • Staged new file or modified things are written in green.
  • Once you are staged, you know that you can commit.
  • Type ‘git commit -m “Elements – text and list” ‘
    • Type your message with specific information of what is the new saved change between quotes.

Useful commands:

  • git status
  • git log
  • git diff

This entry was posted in Web Developer Course and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *