Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Rodrigo Branas
PDF, PPTX
9,151 views
#6 - Git - Desfazendo as coisas
Desfazendo as coisas com Git.
Software
◦
Read more
12
Save
Share
Embed
Embed presentation
Download
Download as PDF, PPTX
1
/ 54
2
/ 54
3
/ 54
4
/ 54
5
/ 54
6
/ 54
7
/ 54
8
/ 54
9
/ 54
10
/ 54
11
/ 54
12
/ 54
13
/ 54
14
/ 54
15
/ 54
16
/ 54
17
/ 54
18
/ 54
19
/ 54
20
/ 54
21
/ 54
22
/ 54
23
/ 54
24
/ 54
25
/ 54
26
/ 54
27
/ 54
28
/ 54
29
/ 54
30
/ 54
31
/ 54
32
/ 54
33
/ 54
34
/ 54
35
/ 54
36
/ 54
37
/ 54
38
/ 54
39
/ 54
40
/ 54
41
/ 54
42
/ 54
43
/ 54
44
/ 54
45
/ 54
46
/ 54
47
/ 54
48
/ 54
49
/ 54
50
/ 54
51
/ 54
52
/ 54
53
/ 54
54
/ 54
More Related Content
PPTX
CI/CD with K8s & Gitlab CI
by
Vincent Lombard
PDF
#1 - Git - Introdução
by
Rodrigo Branas
PDF
Git para inciantes
by
Bruno Almeida
PDF
#3 - Git - Branching e Merging
by
Rodrigo Branas
PDF
#5 - Git - Contribuindo com um repositório remoto
by
Rodrigo Branas
PDF
#4 - Git - Stash
by
Rodrigo Branas
PDF
#2 - Git - DAG
by
Rodrigo Branas
PDF
Node.js - #7 - Core Modules - http - Parte 1 - Rodrigo Branas
by
Rodrigo Branas
CI/CD with K8s & Gitlab CI
by
Vincent Lombard
#1 - Git - Introdução
by
Rodrigo Branas
Git para inciantes
by
Bruno Almeida
#3 - Git - Branching e Merging
by
Rodrigo Branas
#5 - Git - Contribuindo com um repositório remoto
by
Rodrigo Branas
#4 - Git - Stash
by
Rodrigo Branas
#2 - Git - DAG
by
Rodrigo Branas
Node.js - #7 - Core Modules - http - Parte 1 - Rodrigo Branas
by
Rodrigo Branas
More from Rodrigo Branas
PDF
Clean Architecture
by
Rodrigo Branas
PDF
Node.js - #6 - Core Modules - net - Rodrigo Branas
by
Rodrigo Branas
PDF
Node.js - #5 - Process - Rodrigo Branas
by
Rodrigo Branas
PDF
Node.js - #4 - Timers - Rodrigo Branas
by
Rodrigo Branas
PDF
Node.js - #3 - Global Objects - Rodrigo Branas
by
Rodrigo Branas
PDF
Node.js - #2 - Sistema de Módulos - Rodrigo Branas
by
Rodrigo Branas
PDF
Node.js - #1 - Introdução - Rodrigo Branas
by
Rodrigo Branas
PPTX
A evolução do AngularJS
by
Rodrigo Branas
PPTX
JavaScript - Date
by
Rodrigo Branas
PPTX
JavaScript - Expressões Regulares
by
Rodrigo Branas
PPTX
Automação de Testes com AngularJS
by
Rodrigo Branas
PPTX
Scope AngularJS
by
Rodrigo Branas
PDF
HTTP Interceptors com AngularJS
by
Rodrigo Branas
PPTX
Criando serviços com AngularJS
by
Rodrigo Branas
PPTX
Criando Filtros com AngularJS
by
Rodrigo Branas
PPTX
Criando aplicações Single-Page com AngularJS
by
Rodrigo Branas
PPTX
Construindo Diretivas com AngularJS
by
Rodrigo Branas
PPTX
Técnicas de Refactoring
by
Rodrigo Branas
PPTX
Selenium - WebDriver
by
Rodrigo Branas
PPTX
Test-Driven Development com JavaScript, Jasmine Karma
by
Rodrigo Branas
Clean Architecture
by
Rodrigo Branas
Node.js - #6 - Core Modules - net - Rodrigo Branas
by
Rodrigo Branas
Node.js - #5 - Process - Rodrigo Branas
by
Rodrigo Branas
Node.js - #4 - Timers - Rodrigo Branas
by
Rodrigo Branas
Node.js - #3 - Global Objects - Rodrigo Branas
by
Rodrigo Branas
Node.js - #2 - Sistema de Módulos - Rodrigo Branas
by
Rodrigo Branas
Node.js - #1 - Introdução - Rodrigo Branas
by
Rodrigo Branas
A evolução do AngularJS
by
Rodrigo Branas
JavaScript - Date
by
Rodrigo Branas
JavaScript - Expressões Regulares
by
Rodrigo Branas
Automação de Testes com AngularJS
by
Rodrigo Branas
Scope AngularJS
by
Rodrigo Branas
HTTP Interceptors com AngularJS
by
Rodrigo Branas
Criando serviços com AngularJS
by
Rodrigo Branas
Criando Filtros com AngularJS
by
Rodrigo Branas
Criando aplicações Single-Page com AngularJS
by
Rodrigo Branas
Construindo Diretivas com AngularJS
by
Rodrigo Branas
Técnicas de Refactoring
by
Rodrigo Branas
Selenium - WebDriver
by
Rodrigo Branas
Test-Driven Development com JavaScript, Jasmine Karma
by
Rodrigo Branas
#6 - Git - Desfazendo as coisas
1.
Rodrigo Branas –
@rodrigobranas - http://www.agilecode.com.br #6 - Git - Desfazendo as coisas
2.
Rodrigo Branas rodrigo.branas@agilecode.com.br http://www.agilecode.com.br • Arquiteto
de Software na Gennera • Professor na Agile Code • Autor na Java Magazine e PacktPub • Palestrante
3.
http://www.youtube.com/rodrigobranas
4.
git reset
5.
soft, mixed e
hard
7.
echo k >
k.txt git add -A git commit -m "k.txt"
9.
git log --oneline
--decorate --all --graph
11.
git reset --soft
7da2
13.
git status
15.
git log --oneline
--decorate --all --graph
17.
Como desfazer o
reset?
18.
git reflog
20.
git reset af19
22.
git log --oneline
--decorate --all --graph
24.
git reset --hard
7da2
26.
git status
28.
git log --oneline
--decorate --all --graph
30.
Como apagar o
último commit do repositório remoto?
31.
git log --oneline
--decorate --all --graph
33.
git reset a4b1
ou HEAD^
35.
git log --oneline
--decorate --all --graph
37.
git push origin
master
39.
Não faça isso,
alguém com certeza vai te xingar..
40.
git push origin
master -f ou --force
42.
cd gitpresentation2
44.
git fetch
46.
git log --oneline
--decorate --all --graph
48.
git merge origin/master
50.
git reset origin/master
52.
git log --oneline
--decorate --all --graph
54.
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
Download