Skip to content
Ventsislav Tanev edited this page Feb 11, 2017 · 2 revisions

Git workflow basics

Clone repo to local drive and create a new local development branch (based on remote development branch)

git clone https://github.com/Nerfix/unity-project1.git
git checkout -b development origin/development

Create a new branch of development when working on a new feature

git checkout -b some-feature development

Work as usual

git status
git add <some-file>
git commit

When ready to push to origin/development (remote branch)

git pull origin development
git checkout development
git merge some-feature
git push
git branch -d some-feature