5 Git Contributingtoarepository 150928235649 Lva1 App6891
5 Git Contributingtoarepository 150928235649 Lva1 App6891
br
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
commit 119e
HEAD master tree 1e57 origin/master
parent 270e
commit 270e
tree 82b4
parent c85e
parent c5b5
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
git log --oneline --decorate --all --graph
O comando git pull faz merge
automaticamente
cd gitpresentation2
echo i > i.txt
git add -A
git commit -m "i.txt"
git push origin master
cd presentation
git fetch
commit 119e
HEAD master tree 1e57 origin/master
parent 270e
commit 270e
tree 82b4
parent c85e
parent c5b5
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
commit a4b1
tree 5ee6 origin/master
parent 119e
commit 119e
HEAD master tree 1e57
parent 270e
commit 270e
tree 82b4
parent c85e
parent c5b5
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
git log --oneline --decorate --all --graph
git diff master origin/master
git merge origin/master
commit a4b1
tree 5ee6 origin/master
parent 119e
commit 119e
HEAD master tree 1e57
parent 270e
commit 270e
tree 82b4
parent c85e
parent c5b5
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
commit a4b1
HEAD master tree 5ee6 origin/master
parent 119e
commit 119e
tree 1e57
parent 270e
commit 270e
tree 82b4
parent c85e
parent c5b5
commit c85e
tree a1bb
parent cc8a
commit cc8a
commit c5b5
tree 10e6
tree 82b4
parent d67a
parent cc8a
parent fde2
git log --oneline --decorate --all --graph
E se eu quiser apenas consultar
o repositório remoto?
cd gitpresentation2
echo j > j.txt
git add -A
git commit -m "j.txt"
git push origin master
cd gitpresentation
git ls-remote
git log --oneline --decorate --all --graph
git fetch
git log --oneline --decorate --all --graph
git merge origin/master
git log --oneline --decorate --all --graph
Rodrigo Branas
Site: http://www.agilecode.com.br
Twitter: @rodrigobranas
Facebook: http://www.facebook.com/canalrodrigobranas
SlideShare: http://www.slideshare.com/rodrigobranas
YouTube: http://www.youtube.com/rodrigobranas
LinkedIn: http://br.linkedin.com/in/rodrigobranas
+Plus: https://plus.google.com/+RodrigoBranas
GitHub: http://www.github.com/rodrigobranas