Grab a link from for example github write git clone before it and you get the whole project localy on you desktop.
git clone https://github.com/aksratamo/salt
git log, git diff, git blame
Git log shows you each commit comment, the creator of the commit, time and ID
Git diff Tells you what is different between versions that you made and the orginal. It can also be used to show differences between any versions
Git blame like the name tells you gives you a change to blame others for code changes in your collaboration. 😉
When you write git blame and a file it will show you who wrote each line and when. It can even tell you the git commit comment. So you know exactly who to blame.
This time everything wrong in the code is me.
Git reset –hard
This will restore your work to last saved session session in git. If you wrote something stupid and dont know how to fix it you can just write
git reset --hard
To go back but remember there is now this can not be undone.
New git module
Lets install keepassxc the new password manager and enable autotype.
I failed to find settings how to enable autotype in CLI.
I tried and finding keepassxc settings other ways but no luck.
find /etc/ -printf '%T+ %p\n'|sort
Git blame: https://www.youtube.com/watch?v=nLWJV2SdXY4
My school assignement h3: http://terokarvinen.com/2018/aikataulu-%E2%80%93-palvelinten-hallinta-ict4tn022-3004-ti-ja-3002-to-%E2%80%93-loppukevat-2018-5p#h3
Copyright GPLv2 2018