Skip to content
Denis Koronchik edited this page Dec 14, 2016 · 4 revisions

Initialize

To initialize your repo do:

  • make fork from https://github.com/ostis-dev/sc-machine
  • clone your fork to your machine and prepare
git clone [email protected]:yourlogin/sc-machine.git
cd sc-machine
git config --global user.name "Your Name"
git config --global user.email [email protected]
git remote add upstream [email protected]:ostis-dev/sc-machine.git

Update

To update your master from upstream use:

git fetch upstream
git checkout master
git merge upstream/master
git push origin master

Rebase

To rebase your branch to master:

git checkout yourbranch
git rebase master

If you have any problems, then:

  • redo
git rebase --abort
  • ask in Join the chat at https://gitter.im/ostis-dev/sc-machine

Common rules