Проект

Общее

Профиль

GITMAGIC » История » Версия 3

« Предыдущее - Версия 3/4 (Разница(diff)) - Следующее » - Текущая версия
Dmitry Chernyak, 22.02.2013 01:27


GITMAGIC

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.