GIT Version Control for ORG Files

Posted by:

Git installation and configuration

git config --global  #global for user --system for global
git config --global core.ui

git add .
git init
git commit
git log --grep=""

git status
git add  #add to staging
git commit -m ""
git diff (--online)
git diff --staged #changes in stage index and respository
git rm # followed with git commit
git mv # similar to git rm
git checkout -- index.html #retrieve from repository to replace staging
git checkout -- shum-code #revert to older version to 
git ...
Continue Reading →
Page 5 of 5 12345