GITMAGIC¶
OVERVIEW | INSTALL | BUILD-ISO | SETUP | OPERATIONS | GITMAGIC | LICENSE | STATUS
на Русском: ОБЗОР | СБОРКА-ISO | УСТАНОВКА | НАСТРОЙКА | ОПЕРАЦИИ | МАГИЯ GIT | ЛИЦЕНЗИЯ | СОСТОЯНИЕ
This is the brief Git info
INTRODUCTION¶
Git (http://git-scm.com) is the widely used source code management system.
Git is used to hold and maintain SCI-CD project.
USEFUL COMMANDS¶
git branch
- show available branches, marks current with '*'
git status
- show your uncommited changes
git diff
- show differences from the last state
git diff BRANCH
- show differences against BRANCH
git commit (-a|FILE)
- remember your changes in the current branch, you'll
have to write a short note
git log
- show the log of the commits; the revision number is the first few
letters from the commit hash
git reset --hard
- forgot all changes in all files
git checkout -b BRANCH
- create new branch BRANCH and switch to it
git checkout BRANCH
- switch to the branch BRANCH
git checkout master; git pull
- receive updates from the project
git checkout local; git merge master
- merge pulled updates into your
workspace
SUBMITTING PATCHES¶
MORE¶
For more information - read Git manuals.