24 lines
386 B
Markdown
24 lines
386 B
Markdown
# Git Guide
|
|
|
|
## 20 câu lệnh Git quan trọng
|
|
|
|
git clone <repo>
|
|
git status
|
|
git pull origin main
|
|
git checkout main
|
|
git checkout -b feature/new-feature
|
|
git branch
|
|
git add .
|
|
git add file.cs
|
|
git commit -m "message"
|
|
git push origin branch
|
|
git log
|
|
git diff
|
|
git stash
|
|
git stash pop
|
|
git merge branch
|
|
git rebase main
|
|
git reset --soft HEAD~1
|
|
git reset --hard HEAD
|
|
git fetch origin
|
|
git remote -v |