-
Fork this repository
$ git clone https://github.com/YOUR_USERNAME/Restobook.git > Cloning into `Restobook`... > remote: Counting objects: 10, done. > remote: Compressing objects: 100% (8/8), done. > remove: Total 10 (delta 1), reused 10 (delta 1) > Unpacking objects: 100% (10/10), done.
cd Restobook
-
Important
Always create new branch when develop something
git checkout -b feature-name
git add .
git commit -m "feature description"
$ git remote -v > origin https://github.com/YOUR_USERNAME/Restobook.git (fetch) > origin https://github.com/YOUR_USERNAME/Restobook.git (push)
git remote add upstream https://github.com/herlianto-github/Restobook.git
$ git remote -v > origin https://github.com/YOUR_USERNAME/Restobook.git (fetch) > origin https://github.com/YOUR_USERNAME/Restobook.git (push) > upstream https://github.com/herlianto-github/Restobook.git (fetch) > upstream https://github.com/herlianto-github/Restobook.git (push)
git push -u origin feature-name