git для продолжающих

Download Git для продолжающих

If you can't read please download the document

Upload: ivan-evtukhovich

Post on 16-Apr-2017

3.466 views

Category:

Technology


0 download

TRANSCRIPT

Git

-scalaxy.ru

~/.gitconfig

[user] email = [email protected] name = Ivan Evtukhovich[color] ui = auto[alias] st = status ci = commit co = checkout

.git/config

[remote "origin"] url = [email protected]:railsclub.ru fetch = +refs/heads/*:refs/remotes/origin/*[branch "master"] remote = origin merge = refs/heads/master

.git/config

[push] default = currentcurrent

matching (-)

tracking upstream

,

.gitignore

log/*tmp/*.ideadb/*.sqlite3db/schema.rb

.git / info / exclude

?

man gitignore

man git-config

git checkout

git checkout -b new_branch

git checkout --track origin/new_branch

git checkout --

git checkout ./

git cherry-pick

git cherry-pick

git cherry

git cherry release master -v

+ - .+ Task #14067- json

git rebase

git rebase -i master

pick 414649e Bridge - pick 3341985 Zabbix troublepick fd6f679 slots - 1squash 0dbba34

git rebase

master

feature

feature2 (*)

git rebase --onto master feature

feature2

master

feature

?

?

2

master (copy)

release

git co mastergit co -b copygit rebase --onto release copy -igit co releasegit merge copy

master

release

copy

git co releasegit merge copy

HEADIndexWorking directory

git status

# On branch master# Changes to be committed:# (use "git reset HEAD ..." to unstage)##modified: 2.txt## Changed but not updated:# (use "git add ..." to update what will be committed)# (use "git checkout -- ..." to discard changes in working directory)##modified: 1.txt## Untracked files:# (use "git add ..." to include in what will be committed)##1.html#2.html

git add ./

:

git add ./git commit -a -m

?

git add -e

@@ -1,5 +1,7 @@
+
qwrety
qwrety
qwrety
qwrety
qwrety
+

git add -e diff vim

git add

git add -i

git add -p

git commit

git commit -mMessage

git commit --amend

git commit -a -mMessage

git reset

git revert

git clean

git stash

git bisect

git svn, cvs

git blame

git grep

git log 100500

2

gitg

gitk

giggle

vim-fugitive Vim

egit Eclipse (0.9 unstable) ( jgit)

http://github.com

http://gitorious.com/

?

man git-

?

http://git-scm.com/

Git Community Book http://book.git-scm.com/

Pro Git http://progit.org/

- ?

- ;-)

Muokkaa otsikon tekstimuotoa napsauttamalla

Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso

Muokkaa otsikon tekstimuotoa napsauttamalla

Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso