Skip to content

Latest commit

 

History

History
57 lines (52 loc) · 1.48 KB

HOWTO.md

File metadata and controls

57 lines (52 loc) · 1.48 KB

IVS project 2 - Kalkulačka

Practicies

Branches:

master - branch pre finálne verzie bez bugov
develop - branch pre development, najviac sa bude pracovať tu
feature_* - branche pre nové features, ktoré keď budú dokončené budú pushnuté do develop

Prerequisities

Vypni blbý githubovský email check

Linux (Debian-based, e.g. Ubuntu)

sudo apt-get install python3

Windows

Download Python3

Basics

Getting repository

Over SSH:

git clone git@github.com:adokitkat/IVS_project2.git

Over HTTPS: recommended

git clone https://github.com/adokitkat/IVS_project2.git

Working with repo

!!! Switch to develop branch: !!!

git checkout develop

Working on a new feature

git branch feature_[name of feature]    // creates a new branch
git checkout feature_[name of feature]

From this point do everytime

Update working history:

git fetch

If changes have been made:

git pull

After making changes in files -> uploading

git add .                                           // adds all new files
git commit -m"[descriptive message of the change]"
git push                                            // pushes everything from your local files to this branch

Cheat-sheet pre neveriacich Tomášov

https://services.github.com/on-demand/downloads/github-git-cheat-sheet/