- git init -> call
tree .cpp-git - create 2 new files and a folder with one file -> call
cpg add . cpg status, commit, andcpg status again- then modify a file -> call
cpg statusto see unstaged - add it then call
cpg statusto see modified - commit, then call
cpg log - delete a file, call
cpg add .+cpg status cpg reset --hardto get file back- create new branch and
cpg checkout new - add a commit to new_branch
- call
cpg branch - modify
a.txt, checkout master with stuff inside index - call
cpg reset --hard+cpg checkout master-> see that the file changed in new_branch has reverted