Use Git to quickly manage documents on a Mac

0

/Users/Sosie/Documents/deeds
git init
git add .
git commit -m "init"

Work on the docs, make changes and then

git commit -a -m "edit summary"

If you add a document

git add .
git commit -a -m "edit summary"

To roll back changes

git reset --hard HEAD

To check status

git status

  • 0 posts
  • 0 subtopics
  • about 1 month ago by vince