SlideShare uma empresa Scribd logo
1 de 105
Baixar para ler offline
KAFFEE
Besser Gits nicht
       Best Practices mit GIT



     Martin Dilger
Effective Trainings & Consulting
effectivetrainings.de
effectivetrainings.de
erstellt auf sp-studio.de
                            effectivetrainings.de
rce C ode
So u
    u nter:
 s sh://user@
   127.0 .0.1/
       git




                 effectivetrainings.de
erstellt auf sp-studio.de   effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
effectivetrainings.de
Best Practice #1




                   effectivetrainings.de
Best Practice #1

Unterschätzen Sie die
Kommandozeile nicht!




                        effectivetrainings.de
KAFFEE
Best Practice #1

Unterschätzen Sie die
Kommandozeile nicht!




                        effectivetrainings.de
Best Practice #1

Unterschätzen Sie die
Kommandozeile nicht!




                        effectivetrainings.de
working copy




               effectivetrainings.de
working copy   index




                       effectivetrainings.de
working copy   index   repo




                              effectivetrainings.de
Edit



  working copy   index   repo




                                effectivetrainings.de
Edit       Add



  working copy   index   repo




                                effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit



  working copy   index       repo




                                    effectivetrainings.de
Edit       Add           Commit     push



  working copy   index       repo




                                      effectivetrainings.de
Clone


Edit       Add           Commit      push



  working copy   index       repo




                                       effectivetrainings.de
KAFFEE
effectivetrainings.de
effectivetrainings.de
Best Practice #2




                   effectivetrainings.de
Best Practice #2

  Pro Feature ein
  Feature-Branch




                    effectivetrainings.de
Myfile.txt
Myfile.txt
Other.txt



Myfile.txt
Myfile.txt
Other.txt



Myfile.txt
Myfile.txt
            Other.txt


Myfile.txt
Other.txt



Myfile.txt
Myfile.txt
            Other.txt


Myfile.txt
Other.txt



Myfile.txt
Branch.txt
            Myfile.txt
            Other.txt


Myfile.txt
Other.txt



Myfile.txt
Branch.txt
Myfile.txt
            Myfile.txt
Other.txt
            Other.txt


Myfile.txt
Other.txt



Myfile.txt
Branch.txt
Myfile.txt
                         Myfile.txt
Other.txt
                         Other.txt


Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Branch.txt
                         Myfile.txt
                         Other.txt

                         Branch.txt
                         Myfile.txt
Other.txt
                         Other.txt


Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Branch.txt
Other.txt                Myfile.txt
Text.txt                 Other.txt

                         Branch.txt
                         Myfile.txt
Other.txt
                         Other.txt


Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Other.txt          Branch.txt
     Text.txt           Other.txt



                              Branch.txt
Other.txt                     Myfile.txt
Text.txt                      Other.txt

                              Branch.txt
                              Myfile.txt
Other.txt
                              Other.txt


Myfile.txt
                 Mergebasis
Other.txt



Myfile.txt
ähi  gkeit
Die F
           tatio ns-
Pr äsen
     t ec h  nik
    f l i eßt mit
        in   das
           t mit ein.
 Ge hal


                        effectivetrainings.de
effectivetrainings.de
KAFFEE
Best Practice #2

  Pro Feature ein
  Feature-Branch




                    effectivetrainings.de
Best Practice #2

  Pro Feature ein
  Feature-Branch




                    effectivetrainings.de
Best Practice #3




                   effectivetrainings.de
Best Practice #3

Deny non-fast forward or
     smoke in hell




                           effectivetrainings.de
KAFFEE
Best Practice #3

Deny non-fast forward or
     smoke in hell




                           effectivetrainings.de
git config --global
                     receive.denyNonFastFor wards true




 Best Practice #3

Deny non-fast forward or
     smoke in hell




                                         effectivetrainings.de
Best Practice #4




                   effectivetrainings.de
Best Practice #4

  git pull --rebase
  gegen Remotes,
  git merge lokal.




                      effectivetrainings.de
Other.txt          Branch.txt
     Text.txt           Other.txt



                              Branch.txt
Other.txt                     Myfile.txt
Text.txt                      Other.txt

                              Branch.txt
Other.txt                     Myfile.txt
                              Other.txt


Myfile.txt
                 Mergebasis
Other.txt



Myfile.txt
Branch.txt
Other.txt
Text.txt                 Myfile.txt
                         Other.txt

                         Branch.txt
Other.txt                Myfile.txt
                         Other.txt

Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Branch.txt
Other.txt
Text.txt                 Myfile.txt
                         Other.txt

                         Branch.txt
Other.txt                Myfile.txt
                         Other.txt

Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Branch.txt
Other.txt
Text.txt                 Myfile.txt
                         Other.txt

                         Branch.txt
Other.txt                Myfile.txt
                         Other.txt

Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Branch.txt
Other.txt
Text.txt                 Myfile.txt
                         Other.txt

                         Branch.txt
Other.txt                Myfile.txt
                         Other.txt

Myfile.txt
            Mergebasis
Other.txt



Myfile.txt
Other.txt   Branch.txt
Text.txt    Myfile.txt
            Other.txt

            Branch.txt
Other.txt   Myfile.txt
            Other.txt

Myfile.txt
Other.txt



Myfile.txt
Other.txt   Branch.txt
Text.txt    Myfile.txt
            Other.txt

            Branch.txt
Other.txt   Myfile.txt
            Other.txt

Myfile.txt
Other.txt



Myfile.txt
Branch.txt
            Myfile.txt
            Other.txt

            Branch.txt
            Myfile.txt
            Other.txt
Other.txt
Text.txt



Other.txt



Myfile.txt
Other.txt



Myfile.txt
Branch.txt
            Myfile.txt
            Other.txt

            Branch.txt
            Myfile.txt
            Other.txt
Other.txt
Text.txt



Other.txt



Myfile.txt
Other.txt



Myfile.txt
Best Practice #4

  git pull --rebase
  gegen Remotes,
  git merge lokal.




                      effectivetrainings.de
KAFFEE
Best Practice #4

  git pull --rebase
  gegen Remotes,
  git merge lokal.




                      effectivetrainings.de
Best Practice #4

  git pull --rebase
  gegen Remotes,
  git merge lokal.




                      effectivetrainings.de
Best Practice #5




                   effectivetrainings.de
Best Practice #5

  commit often,
   polish later,
   push once.




                   effectivetrainings.de
erech    nete
 D as b
          t so l l rot
  G ehal
                ine nter
und   prom
                 werd  en.
   rges t el l t
da



                             effectivetrainings.de
KAFFEE
Best Practice #5

  commit often,
   polish later,
   push once.




                   effectivetrainings.de
Best Practice #5

  commit often,
   polish later,
   push once.




                   effectivetrainings.de
erstellt auf sp-studio.de
                            effectivetrainings.de
Best Practice #6




                   effectivetrainings.de
Best Practice #6

 Last but not Least!




                       effectivetrainings.de
Best Practice #6

Haben Sie Spaß mit GIT!




                          effectivetrainings.de
Best Practice #6

Haben Sie Spaß mit GIT!




                          effectivetrainings.de
Effective Trainings &
      Consulting

 Kontakt: martin@effectivetrainings.de
  Oder gleich anschließend im Foyer!



http://www.effectivetrainings.de


                                         effectivetrainings.de
Effective Trainings &
      Consulting

 Kontakt: martin@effectivetrainings.de
  Oder gleich anschließend im Foyer!



http://www.effectivetrainings.de


                                         effectivetrainings.de
Effective Trainings &
      Consulting

 Kontakt: martin@effectivetrainings.de
  Oder gleich anschließend im Foyer!



http://www.effectivetrainings.de


                                         effectivetrainings.de
KAFFEE

Mais conteúdo relacionado

Último

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

Destaque

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Destaque (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Effectivetrainings.de - Besser Gits nicht - Best Practices mit GIT