update documents
This commit is contained in:
24
GIT_GUIDE.md
Normal file
24
GIT_GUIDE.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user