In Master branch:
-
Pull code: $ git pull origin master
-
Checkout to vuong branch: $ git checkout vuong
In vuong branch:
-
4 buoc push code:
-
- $ git add .
-
- $ git commit -am "message"
-
- Merge Code(Checkout sang master va pull code moi nhat ve master, sau do checkout lai sang nhanh vuong va thuc hien merge): git merge master
-
- $ git push origin vuong
-
Checkout to master branch: $ git checkout master
-
Pull code: $ git pull origin vuong