Basic of Git - adadesions/SynReactNative GitHub Wiki

Git Commands line by Ada

CheatSheet : PDF



Start new Git Project

git init

** Clone project

git clone https://github.com/adadesions/SynReactNative

Check Status or Get to know something happened

git status

Add all files to commit"

git add .

Commit change by...

git commit -am "Comment here"

Set remote git by

git push --set-upstream <repo_url>

after set remote server just,

git push

Every times you should "PULL" first before do anything

git pull

Branch

**Current branch or Branch list

git branch

**Move to other branch

git checkout <branch_name>

**Create new branch

git branch -b <branch_name>

⚠️ **GitHub.com Fallback** ⚠️