Проект

Общее

Профиль

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

Dmitry Chernyak, 22.02.2013 01:30

1 1 Dmitry Chernyak
h1. GITMAGIC
2 1 Dmitry Chernyak
3 1 Dmitry Chernyak
{{toc}}
4 1 Dmitry Chernyak
5 4 Dmitry Chernyak
[[OVERVIEW]] | [[INSTALL]] | [[BUILD-ISO]] | [[SETUP]] | [[OPERATIONS]] | [[GITMAGIC]] | [[LICENSE]] | [[STATUS]]
6 3 Dmitry Chernyak
на Русском: [[ОБЗОР]] | [[СБОРКА-ISO]] | [[УСТАНОВКА]] | [[НАСТРОЙКА]] | [[ОПЕРАЦИИ]] | [[МАГИЯ GIT]] | [[ЛИЦЕНЗИЯ]] | [[СОСТОЯНИЕ]]
7 3 Dmitry Chernyak
8 1 Dmitry Chernyak
This is the brief Git info
9 1 Dmitry Chernyak
10 1 Dmitry Chernyak
h2. INTRODUCTION
11 1 Dmitry Chernyak
12 1 Dmitry Chernyak
Git (http://git-scm.com) is the widely used source code management system.
13 1 Dmitry Chernyak
Git is used to hold and maintain SCI-CD project.
14 1 Dmitry Chernyak
15 1 Dmitry Chernyak
h2. USEFUL COMMANDS
16 1 Dmitry Chernyak
17 1 Dmitry Chernyak
@git branch@ - show available branches, marks current with '*'
18 1 Dmitry Chernyak
19 1 Dmitry Chernyak
@git status@ - show your uncommited changes
20 1 Dmitry Chernyak
21 1 Dmitry Chernyak
@git diff@ - show differences from the last state
22 1 Dmitry Chernyak
23 1 Dmitry Chernyak
@git diff BRANCH@ - show differences against BRANCH
24 1 Dmitry Chernyak
25 1 Dmitry Chernyak
@git commit (-a|FILE)@ - remember your changes in the current branch, you'll
26 1 Dmitry Chernyak
have to write a short note
27 1 Dmitry Chernyak
28 1 Dmitry Chernyak
@git log@ - show the log of the commits; the revision number is the first few
29 1 Dmitry Chernyak
letters from the commit hash
30 1 Dmitry Chernyak
31 1 Dmitry Chernyak
@git reset --hard@ - forgot all changes in all files
32 1 Dmitry Chernyak
33 2 Dmitry Chernyak
@git checkout -b BRANCH@ - create new branch BRANCH and switch to it
34 2 Dmitry Chernyak
35 1 Dmitry Chernyak
@git checkout BRANCH@ - switch to the branch BRANCH
36 1 Dmitry Chernyak
37 1 Dmitry Chernyak
@git checkout master; git pull@ - receive updates from the project
38 1 Dmitry Chernyak
39 1 Dmitry Chernyak
@git checkout local; git merge master@ - merge pulled updates into your
40 1 Dmitry Chernyak
workspace
41 1 Dmitry Chernyak
42 1 Dmitry Chernyak
h2. SUBMITTING PATCHES
43 1 Dmitry Chernyak
44 1 Dmitry Chernyak
h2. MORE
45 1 Dmitry Chernyak
46 1 Dmitry Chernyak
For more information - read Git manuals.