Add git repository initialization (#69)

Add git repository setup step to git setup part of README. 
Fix indentation issue on `git add ` step
This commit is contained in:
Rounak Das 2017-07-21 19:35:39 +05:30 committed by Vahid Panjganj
parent 11a9829071
commit 26cf4be631

View File

@ -74,6 +74,12 @@ There are a set of rules to keep in mind:
### 1.2 Git workflow
Because of most of the reasons above, we use [Feature-branch-workflow](https://www.atlassian.com/git/tutorials/comparing-workflows#feature-branch-workflow) with [Interactive Rebasing](https://www.atlassian.com/git/tutorials/merging-vs-rebasing#the-golden-rule-of-rebasing) and some elements of [Gitflow](https://www.atlassian.com/git/tutorials/comparing-workflows#gitflow-workflow) (naming and having a develop branch). The main steps are as follow:
* For a new project, initialize a git repository in the project directory. __For susequent features/changes this step should be ignored__.
```sh
cd <project directory>
git init
```
* Checkout a new feature/bug-fix branch
```sh
git checkout -b <branchname>