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
sudo apt-get install python3
Over SSH:
git clone git@github.com:adokitkat/IVS_project2.git
Over HTTPS: recommended
git clone https://github.com/adokitkat/IVS_project2.git
!!! Switch to develop branch: !!!
git checkout develop
git branch feature_[name of feature] // creates a new branch
git checkout feature_[name of feature]
Update working history:
git fetch
If changes have been made:
git pull
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
https://services.github.com/on-demand/downloads/github-git-cheat-sheet/