- Build VR game with Unity.
- before doing jobs
- cd your repo location
- git pull origin main => means merge your local branch with remote branch. origin = remote name. main = brance name.
- after finish some jobs
- git add . => means add all modify to staging area.
- git commit -m " comment about this commit " => means let staging area commit to local repo.
- git push origin main => push local repo to merge to remote branch. origin = remote name. main = brance name.
- done, remember push everytime when you finish some jobs.
- other command about git
- git remote -v => shows remote name and location.
- git checkout => can switch local branch.
- git checkout -b => can create and checkout to new local branch.
- TBA