Enviar pesquisa
Carregar
GIT rozproszony system kontroli wersji
•
1 gostou
•
599 visualizações
3camp
Seguir
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 40
Recomendados
git internals
git internals
Dennis Byrne
Ecos基础应用介绍
Ecos基础应用介绍
wanglei999
2005_Structures and functions of Makefile
2005_Structures and functions of Makefile
NakCheon Jung
Backups
Backups
Svet Ivantchev
Apache Hadoop for System Administrators
Apache Hadoop for System Administrators
Allen Wittenauer
Using Git as your VCS with Bioconductor
Using Git as your VCS with Bioconductor
timyates
Containers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
Get Good With Git
Get Good With Git
Hoffman Lab
Recomendados
git internals
git internals
Dennis Byrne
Ecos基础应用介绍
Ecos基础应用介绍
wanglei999
2005_Structures and functions of Makefile
2005_Structures and functions of Makefile
NakCheon Jung
Backups
Backups
Svet Ivantchev
Apache Hadoop for System Administrators
Apache Hadoop for System Administrators
Allen Wittenauer
Using Git as your VCS with Bioconductor
Using Git as your VCS with Bioconductor
timyates
Containers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
Get Good With Git
Get Good With Git
Hoffman Lab
Productivity tips for developers
Productivity tips for developers
Sebastian Witowski
Fun with processes - lightning talk
Fun with processes - lightning talk
Paweł Dawczak
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
Allen Wittenauer
Hands on Hadoop
Hands on Hadoop
Paul Tarjan
Git real slides
Git real slides
Lucas Couto
Git like a pro EDD18 - Full edition
Git like a pro EDD18 - Full edition
Jesús Miguel Benito Calzada
Git
Git
Gustavo Barbosa
Capital onehadoopclass
Capital onehadoopclass
Doug Chang
Git Sensitive Data
Git Sensitive Data
Ombu Labs, The Lean Software Boutique
Commands documentaion
Commands documentaion
TejalNijai
Introduction to cloudforecast
Introduction to cloudforecast
Masahiro Nagano
What is suid, sgid and sticky bit
What is suid, sgid and sticky bit
Meenu Chopra
Git
Git
Parag Gupta
Linux-Fu for PHP Developers
Linux-Fu for PHP Developers
Lorna Mitchell
Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMail
VCP Muthukrishna
MongoDB - Monitoring & queueing
MongoDB - Monitoring & queueing
Boxed Ice
Git::Hooks
Git::Hooks
Mikko Koivunalho
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
維泰 蔡
Presentation DVCS - Git - Mercurial au LyonJug
Presentation DVCS - Git - Mercurial au LyonJug
Sébastien Deleuze
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell Script
VCP Muthukrishna
InfoShare 2008
InfoShare 2008
3camp
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
3camp
Mais conteúdo relacionado
Mais procurados
Productivity tips for developers
Productivity tips for developers
Sebastian Witowski
Fun with processes - lightning talk
Fun with processes - lightning talk
Paweł Dawczak
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
Allen Wittenauer
Hands on Hadoop
Hands on Hadoop
Paul Tarjan
Git real slides
Git real slides
Lucas Couto
Git like a pro EDD18 - Full edition
Git like a pro EDD18 - Full edition
Jesús Miguel Benito Calzada
Git
Git
Gustavo Barbosa
Capital onehadoopclass
Capital onehadoopclass
Doug Chang
Git Sensitive Data
Git Sensitive Data
Ombu Labs, The Lean Software Boutique
Commands documentaion
Commands documentaion
TejalNijai
Introduction to cloudforecast
Introduction to cloudforecast
Masahiro Nagano
What is suid, sgid and sticky bit
What is suid, sgid and sticky bit
Meenu Chopra
Git
Git
Parag Gupta
Linux-Fu for PHP Developers
Linux-Fu for PHP Developers
Lorna Mitchell
Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMail
VCP Muthukrishna
MongoDB - Monitoring & queueing
MongoDB - Monitoring & queueing
Boxed Ice
Git::Hooks
Git::Hooks
Mikko Koivunalho
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
維泰 蔡
Presentation DVCS - Git - Mercurial au LyonJug
Presentation DVCS - Git - Mercurial au LyonJug
Sébastien Deleuze
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell Script
VCP Muthukrishna
Mais procurados
(20)
Productivity tips for developers
Productivity tips for developers
Fun with processes - lightning talk
Fun with processes - lightning talk
Apache Hadoop Shell Rewrite
Apache Hadoop Shell Rewrite
Hands on Hadoop
Hands on Hadoop
Git real slides
Git real slides
Git like a pro EDD18 - Full edition
Git like a pro EDD18 - Full edition
Git
Git
Capital onehadoopclass
Capital onehadoopclass
Git Sensitive Data
Git Sensitive Data
Commands documentaion
Commands documentaion
Introduction to cloudforecast
Introduction to cloudforecast
What is suid, sgid and sticky bit
What is suid, sgid and sticky bit
Git
Git
Linux-Fu for PHP Developers
Linux-Fu for PHP Developers
Bash Script Disk Space Utilization Report and EMail
Bash Script Disk Space Utilization Report and EMail
MongoDB - Monitoring & queueing
MongoDB - Monitoring & queueing
Git::Hooks
Git::Hooks
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Linux 系統管理與安全:進階系統管理系統防駭與資訊安全
Presentation DVCS - Git - Mercurial au LyonJug
Presentation DVCS - Git - Mercurial au LyonJug
File Space Usage Information and EMail Report - Shell Script
File Space Usage Information and EMail Report - Shell Script
Destaque
InfoShare 2008
InfoShare 2008
3camp
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
3camp
Trillium Fabrication Division
Trillium Fabrication Division
RENEESH R
Penser une culture du risque : l’approche des cindyniques
Penser une culture du risque : l’approche des cindyniques
Jan-Cedric Hansen
media styles of music videos
media styles of music videos
Yasemin Sehri
Sách Không Thể Bị Lừa Dối
Sách Không Thể Bị Lừa Dối
Nhân Nguyễn Sỹ
Pharmaceutical Marketing and Management
Pharmaceutical Marketing and Management
CMH hospital
Implix
Implix
3camp
Como subir de precios y no morir en el intento banco de bogota - marzo de 2017
Como subir de precios y no morir en el intento banco de bogota - marzo de 2017
Camilo Herrera
Aula0706 (cultura do estupro - roteiro de leitura)
Aula0706 (cultura do estupro - roteiro de leitura)
Eduarda Bonora Kern
№ 69 василисы премудрые
№ 69 василисы премудрые
Ирина Рассохина
Визитка команды "Любимая сказка"
Визитка команды "Любимая сказка"
Ирина Рассохина
Команда "Сказочный звездопад"
Команда "Сказочный звездопад"
Ирина Рассохина
Destaque
(13)
InfoShare 2008
InfoShare 2008
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
Nozbe.app - testowanie różnych modeli biznesowych w budowaniu appki do Appstore
Trillium Fabrication Division
Trillium Fabrication Division
Penser une culture du risque : l’approche des cindyniques
Penser une culture du risque : l’approche des cindyniques
media styles of music videos
media styles of music videos
Sách Không Thể Bị Lừa Dối
Sách Không Thể Bị Lừa Dối
Pharmaceutical Marketing and Management
Pharmaceutical Marketing and Management
Implix
Implix
Como subir de precios y no morir en el intento banco de bogota - marzo de 2017
Como subir de precios y no morir en el intento banco de bogota - marzo de 2017
Aula0706 (cultura do estupro - roteiro de leitura)
Aula0706 (cultura do estupro - roteiro de leitura)
№ 69 василисы премудрые
№ 69 василисы премудрые
Визитка команды "Любимая сказка"
Визитка команды "Любимая сказка"
Команда "Сказочный звездопад"
Команда "Сказочный звездопад"
Semelhante a GIT rozproszony system kontroli wersji
Introducción a git y GitHub
Introducción a git y GitHub
Lucas Videla
Loading...git
Loading...git
Rafael García
Working with Git
Working with Git
Pete Nicholls
Git the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version control
Becky Todd
Git - Get Ready To Use It
Git - Get Ready To Use It
Daniel Kummer
Git Without Puns
Git Without Puns
Chicago ALT.NET
Git_real_slides
Git_real_slides
Khanh NL-bantoilatoi
Get on with git
Get on with git
Habeeb Rahman
Gittalk
Gittalk
prtinsley
GIT - GOOD PRACTICES
GIT - GOOD PRACTICES
Rodolfo Spalenza
Git Started With Git
Git Started With Git
Nick Quaranto
Gitosis on Mac OS X Server
Gitosis on Mac OS X Server
Yasuhiro Asaka
Git Aliases of the Gods!
Git Aliases of the Gods!
Atlassian
Git
Git
jimmythrasher
T3dd10 git
T3dd10 git
jugglefish
Git for beginner
Git for beginner
Trung Huynh
Git For Beginer
Git For Beginer
Trung Huynh
Git and github 101
Git and github 101
Senthilkumar Gopal
Git walkthrough
Git walkthrough
Mahmoud Said
Git Basics (Professionals)
Git Basics (Professionals)
bryanbibat
Semelhante a GIT rozproszony system kontroli wersji
(20)
Introducción a git y GitHub
Introducción a git y GitHub
Loading...git
Loading...git
Working with Git
Working with Git
Git the Docs: A fun, hands-on introduction to version control
Git the Docs: A fun, hands-on introduction to version control
Git - Get Ready To Use It
Git - Get Ready To Use It
Git Without Puns
Git Without Puns
Git_real_slides
Git_real_slides
Get on with git
Get on with git
Gittalk
Gittalk
GIT - GOOD PRACTICES
GIT - GOOD PRACTICES
Git Started With Git
Git Started With Git
Gitosis on Mac OS X Server
Gitosis on Mac OS X Server
Git Aliases of the Gods!
Git Aliases of the Gods!
Git
Git
T3dd10 git
T3dd10 git
Git for beginner
Git for beginner
Git For Beginer
Git For Beginer
Git and github 101
Git and github 101
Git walkthrough
Git walkthrough
Git Basics (Professionals)
Git Basics (Professionals)
Mais de 3camp
Ochrona podatnych webaplikacji za pomocą wirtualnych poprawek
Ochrona podatnych webaplikacji za pomocą wirtualnych poprawek
3camp
HTTPS bez wymówek
HTTPS bez wymówek
3camp
Jak udokumentować bazę danych
Jak udokumentować bazę danych
3camp
ORM - tuningujemy podejście do mapowania
ORM - tuningujemy podejście do mapowania
3camp
No pressure, no diamonds. Rzecz o łamaniu zasad w projektach.
No pressure, no diamonds. Rzecz o łamaniu zasad w projektach.
3camp
W poszukiwaniu procesu doskonałego. Wdrożenie Scruma, Continuous Integrations...
W poszukiwaniu procesu doskonałego. Wdrożenie Scruma, Continuous Integrations...
3camp
Wykorzystanie języka Kotlin do aplikacji na platformie Android
Wykorzystanie języka Kotlin do aplikacji na platformie Android
3camp
Learn you some rx for the greater good
Learn you some rx for the greater good
3camp
Google App Engine i Google Play Services w Twoich aplikacjach
Google App Engine i Google Play Services w Twoich aplikacjach
3camp
Reakcja łańcuchowa, czyli React.js w praktyce
Reakcja łańcuchowa, czyli React.js w praktyce
3camp
Odtwarzanie multimediów w HTML5, czyli Player przez duże „P”
Odtwarzanie multimediów w HTML5, czyli Player przez duże „P”
3camp
AngularJS (nie) nadaje się do dużego projektu
AngularJS (nie) nadaje się do dużego projektu
3camp
Przemysław Bartkowiak - Sam ustalasz ile za to zapłacisz – czyli nowy wymiar ...
Przemysław Bartkowiak - Sam ustalasz ile za to zapłacisz – czyli nowy wymiar ...
3camp
Mirek Wąsowicz - Segment jednego, dokąd zmierza marketing online?
Mirek Wąsowicz - Segment jednego, dokąd zmierza marketing online?
3camp
Artur Senk, OKE Poland, Big Data na zakupach
Artur Senk, OKE Poland, Big Data na zakupach
3camp
Piotr Macuk, Konfeo.com, Programista i biznes – plusy i minusy własnej działa...
Piotr Macuk, Konfeo.com, Programista i biznes – plusy i minusy własnej działa...
3camp
Marcin Maj, Kainos - QA – wartko, zmiennie i interdyscyplinarnie
Marcin Maj, Kainos - QA – wartko, zmiennie i interdyscyplinarnie
3camp
Jak przesiąść się na rower na dwóch kółkach? Od trzyosobowego startupu do spó...
Jak przesiąść się na rower na dwóch kółkach? Od trzyosobowego startupu do spó...
3camp
Łukasz Brzeziński - Jak zarabiać z Wikingami? Czyli monetyzacja portalu inter...
Łukasz Brzeziński - Jak zarabiać z Wikingami? Czyli monetyzacja portalu inter...
3camp
Marcin Szeląg, InnovationNest, Startup Risk Model
Marcin Szeląg, InnovationNest, Startup Risk Model
3camp
Mais de 3camp
(20)
Ochrona podatnych webaplikacji za pomocą wirtualnych poprawek
Ochrona podatnych webaplikacji za pomocą wirtualnych poprawek
HTTPS bez wymówek
HTTPS bez wymówek
Jak udokumentować bazę danych
Jak udokumentować bazę danych
ORM - tuningujemy podejście do mapowania
ORM - tuningujemy podejście do mapowania
No pressure, no diamonds. Rzecz o łamaniu zasad w projektach.
No pressure, no diamonds. Rzecz o łamaniu zasad w projektach.
W poszukiwaniu procesu doskonałego. Wdrożenie Scruma, Continuous Integrations...
W poszukiwaniu procesu doskonałego. Wdrożenie Scruma, Continuous Integrations...
Wykorzystanie języka Kotlin do aplikacji na platformie Android
Wykorzystanie języka Kotlin do aplikacji na platformie Android
Learn you some rx for the greater good
Learn you some rx for the greater good
Google App Engine i Google Play Services w Twoich aplikacjach
Google App Engine i Google Play Services w Twoich aplikacjach
Reakcja łańcuchowa, czyli React.js w praktyce
Reakcja łańcuchowa, czyli React.js w praktyce
Odtwarzanie multimediów w HTML5, czyli Player przez duże „P”
Odtwarzanie multimediów w HTML5, czyli Player przez duże „P”
AngularJS (nie) nadaje się do dużego projektu
AngularJS (nie) nadaje się do dużego projektu
Przemysław Bartkowiak - Sam ustalasz ile za to zapłacisz – czyli nowy wymiar ...
Przemysław Bartkowiak - Sam ustalasz ile za to zapłacisz – czyli nowy wymiar ...
Mirek Wąsowicz - Segment jednego, dokąd zmierza marketing online?
Mirek Wąsowicz - Segment jednego, dokąd zmierza marketing online?
Artur Senk, OKE Poland, Big Data na zakupach
Artur Senk, OKE Poland, Big Data na zakupach
Piotr Macuk, Konfeo.com, Programista i biznes – plusy i minusy własnej działa...
Piotr Macuk, Konfeo.com, Programista i biznes – plusy i minusy własnej działa...
Marcin Maj, Kainos - QA – wartko, zmiennie i interdyscyplinarnie
Marcin Maj, Kainos - QA – wartko, zmiennie i interdyscyplinarnie
Jak przesiąść się na rower na dwóch kółkach? Od trzyosobowego startupu do spó...
Jak przesiąść się na rower na dwóch kółkach? Od trzyosobowego startupu do spó...
Łukasz Brzeziński - Jak zarabiać z Wikingami? Czyli monetyzacja portalu inter...
Łukasz Brzeziński - Jak zarabiać z Wikingami? Czyli monetyzacja portalu inter...
Marcin Szeląg, InnovationNest, Startup Risk Model
Marcin Szeląg, InnovationNest, Startup Risk Model
GIT rozproszony system kontroli wersji
1.
! #
2.
! ! $ % '()
3.
# ! * + , -, !) .
4.
)
5.
/
6.
0
7.
! * 1 0
8.
( , 2 3,45 5 , 5 6 -%78 9 2
9.
! $ sudo apt-get
install git $ git config --global user.name Piotr Macuk $ git config --global user.email piotr@macuk.pl /etc/gitconfig ~/.gitconfig .git/config git help config
10.
% $ mkdir -p
pesel/src $ touch pesel/README $ touch pesel/src/pesel.rb pesel pesel/README pesel/src pesel/src/pesel.rb
11.
-
12.
$ git init pesel pesel/README pesel/src pesel/src/pesel.rb pesel/.git
13.
1 $ git status #
On branch master # Untracked files: # README # src/ nothing added to commit but untracked files present (use git add to track)
14.
% $ git add
. $ git status # On branch master # Changes to be committed: # new file: README # new file: src/pesel.rb
15.
0
16.
17.
$ git commit
-m 'Init' [master (root-commit) 7b355ec] Init 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 README create mode 100644 src/pesel.rb $ git status # On branch master nothing to commit (working directory clean)
18.
! ,
19.
pesel
pesel/.git/index pesel/.git 0
20.
21.
0
22.
23.
8
02
24.
$ , ( $ cd .git/objects
find e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 29/206d2658aaf11920998fac41a9f5f7047418fb 4b/b2a6cec1e0c51741998cd243367706bbfb3b83 7b/355ecc8206060071ff60038fa034aab580dd59
25.
.
26.
$ echo 'Pesel
library.' README $ git add README $ git commit -m 'Doc'
27.
$ , ( $ cd .git/objects
find e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 29/206d2658aaf11920998fac41a9f5f7047418fb 4b/b2a6cec1e0c51741998cd243367706bbfb3b83 7b/355ecc8206060071ff60038fa034aab580dd59 d3/db0ebf6844ddc3ef19920e753bdf66f332a565 50/947a5824bab56cf14775c6594745f5b4409f2f 6a/aa7ae7ded1c036bc433a49906733a81da6fc9e
28.
1: 8;
Init Doc pesel tree 4bb2a6c 6aaa7ae pesel/README blob e69de29 50947a5 pesel/src tree 29206d2 29206d2 pesel/src/pesel.rb blob e69de29 e69de29
29.
1 !
Init Doc commit commit 7b355ec d3db0eb tree tree pesel pesel 4bb2a6c 6aaa7ae blob tree blob e69de29 29206d2 50947a5 README src README src/pesel.rb
30.
, (
blob (size)0 tree (size)0 content 100644 blob e69de29 README 040000 tree 29206d2 src Commit (size)0 tag (size)0 tree 6aaa7ae object d3db0eb parent 7b355ec type commit author Piotr Macuk tag v0.0.1 piotr@macuk.pl tagger Piotr Macuk 1271161942 +0200 piotr@macuk.pl committer Piotr Macuk Tue Apr 13 17:24:40 2010 piotr@macuk.pl 1271161942 +0200 First tag. Doc
31.
, 9 )= ,
32.
,
33.
(, 2 obj = zlib(sha1(header
+ content)) obj = .git/objects/
34.
)
HEAD $ git branch fix23 $ git checkout fix23 master fix23 F D $ git checkout -b fix23 E C $ git branch -d fix23 B A
35.
%
36.
) , ,! ? !)@ )@ ? @
37.
38.
!) ? AB , ( :C 3 ? !)@ ( ! ,
39.
$ git tag
v0.0.1 $ git tag -a v1.0 $ git tag -s v1.0signed $ git tag -l
40.
' @
$ cd .git/refs/ find HEAD master fix23 tags/v0.0.1 heads/master F D heads/fix23 E C tag: v0.0.1 B A
41.
! $ git merge
fix23 HEAD $ git branch -d fix23 master HEAD G master fix23 F D F D E C E C B B A A
42.
, D
43.
!
HEAD HEAD $ git checkout fix23 master fix23 $ git rebase master D2 D2 HEAD C2 C2 master fix23 master F D F F E C E $ git checkout master E $ git merge fix23 $ git branch -d fix23 B B B A A A
44.
: 9 ! $ git log commit
d3db0ebf6844ddc3ef19920e753bdf66f332a565 Author: Piotr Macuk piotr@macuk.pl Date: Tue Apr 13 14:43:39 2010 +0200 Doc commit 7b355ecc8206060071ff60038fa034aab580dd59 Author: Piotr Macuk piotr@macuk.pl Date: Tue Apr 13 14:32:22 2010 +0200 Init
45.
: 9 ! $ git log $
git log -p $ git log file1 file2 dir3 $ git log tag..branch $ git log HEAD~10.. $ git log -10 $ git log --author=fred $ git log --grep=some text $ git log -Ssome code
46.
$ git show commit
d3db0ebf6844ddc3ef19920e753bdf66f332a565 Author: Piotr Macuk piotr@macuk.pl Date: Tue Apr 13 14:43:39 2010 +0200 Dokumentacja diff --git a/README b/README index e69de29..50947a5 100644 --- a/README +++ b/README @@ -0,0 +1 @@ +Pesel library.
47.
(=
! ,
48.
pesel
pesel/.git/index pesel/.git git diff git diff HEAD git diff --cached
49.
$ git commit
--amend $ git reset --soft $ git reset --hard # UWAGA
50.
E,B,FGAAE;HHIBJKE,FFEEI KFK E,B, :C 35
51.
5 4IE5 LBB;
52.
MK5 4IENI5 E,B,MI E,B,J,EKK
53.
'() =
54.
O ( , )(
55.
$ git clone
url dir $ git remote add janek url $ git pull (lub fetch + merge) $ git push
56.
+
private private jan ola jan$ git remote add ola file://home/ola/pesel ola$ git remote add jan file://home/jan/pesel $ git pull # bez push! ola$ git branch -a * master remotes/jan/master
57.
'()
shared private private private private $ git clone --bare pesel pesel.git $ scp -r pesel.git server:~/ $ git remote add shared server:~/pesel.git
58.
public
public public public main private private private Opiekun Developer Developer
59.
/ '() ) ) $ git format-patch
master~3 $ git apply *.patch $ git add … $ git commit
60.
' ! !
! ,
61.
! 28
! , ! L ! ! 2L ! ! ! 2 !
62.
%
! P Q R ! PR S! PT R P'R 7 P 1 7R ! L P
63.
5 4R
64.
+
2 UQQ! 8
65.
2 UQQ!
66.
67.
2 UQQ2! , 24
68.
2 UQQ! !
2 UQQ!
69.
*
70.
3 ! UR