TNEL Github

Some important git commands and when they are used

mkdir TNELExample
git clone git@github.com:tne-lab/TNEL-Github-Tutorial.git
git remote add origin git@github.com:tne-lab/TNEL-Github-Tutorial.git
git add .
git commit -m "title" -m "description"
git branch -M sub-branch
git push -u origin sub-branch
.

Reverting the changes

git log
git revert "logID"
git commit -m "Commit to the main-revert" -m "some simple cmds"
git push -u origin main

testing the code from the fork

Changes in the current code and update it in the fork