Проект

Общее

Профиль

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

Версия 1/4 - Следующее » - Текущая версия
Dmitry Chernyak, 26.02.2011 22:14


GITMAGIC

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 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.