Skip to content

How to work with project through github

Dmitriy Kalpakchi edited this page Apr 2, 2015 · 7 revisions

How to get project

Fork it from KPI-ASOIU / AcDP to your projects by fork button. Then clone it on your computer:

git clone [email protected]:your_nickname/AcDP.git

How to update project to last version from main repository

To get last version of project add KPI-ASOIU / AcDP to your remote repositories (make only once):

git remote add alias_for_remote_repository [email protected]:KPI-ASOIU/AcDP.git

Fetch last version of project:

git fetch --all

For working with Semantic UI version of the project do the following:
Rebase your current branch to newest semantic version of the project

git rebase alias_for_remote_repository/dev-semantic
git checkout -t alias_for_remote_repository/dev-semantic

For working with master version of the project do the following:
Rebase your current branch to newest master

git rebase alias_for_remote_repository/master

###Work with task Create and switch to new branch for this task:

git checkout -b task_name

Push finished task to main repository

Push it to your repository:

git push origin task_name

Choose your branch, press button "compare & preview" and pull it to main repository for checking and merging.

Clone this wiki locally