Let’s git

Posted by in Lagom

cd .../myproject/
nano -w .gitignore (filtered stuff, one on each row, *.old, *.backup etc)
git init
git add .
git commit -m "Initial release or whatever."
---
git status
nano -w changedfile.xxx
git diff changedfile.xxx
git add changedfile.xxx
git commit -m "Fixed a bug or whatever."
git push (if remote repository on gitlab etc.)