Version Control | Developer မဖြစ်မနေ သိရမည့် tool | Code history, teamwork, backup
init, add, commit, status, log, .gitignore
branch, checkout, switch, branch naming strategy
merge, conflict resolve, fast-forward vs 3-way
remote add, push, pull, fetch, clone, SSH keys
Fork, Pull Request, Issues, Actions CI/CD
rebase, stash, cherry-pick, reset, tag, reflog
git --version# Setup (တစ်ကြိမ်ပဲ) git config --global user.name "Ko Ko" git config --global user.email "ko@example.com" # New project git init git add . git commit -m "first commit" # Daily workflow git status # ဘာ changed ကြည့် git add filename.html # specific file stage git add . # all changes stage git commit -m "add login page" git log --oneline # history ကြည့် # GitHub push git remote add origin https://github.com/user/repo.git git push -u origin main # Update from GitHub git pull origin main # Undo mistakes git restore filename.html # discard changes git reset HEAD~1 # undo last commit (keep files)