Git Tips & Tricks

By: Tina Müller (‎tinita‎) from Berlin.pm, Bicycle.pm
Date: Thursday, 16 August 2018 10:10
Duration: 20 minutes
Target audience: Any
Language: English
Tags: git

You can find more information on the speaker's site:


For this talk you should have a very basic understanding of git. I generally can recommend https://git-scm.com/

I often get asked git questions from co-workers, when they want to know how to do something, or when they messed up something.
I have a lot of git/shell aliases that help me to show the current status and what I'm going to push/merge where.

You made changes to one file that you would like to put in two different commits because they don't belong together? I'll show you how.

You fear rebase because people told you that it's evil? There are actually several kinds of rebase, and I think you should at least learn how to do an interactive rebase on your local branches.

You accidentally commited to the wrong branch? That's easy to fix (given that you didn't already push it), and I'll show you how to avoid that in the future.

Please note that this is all about command line usage of git.


Attended by: R Geoffrey Avery (‎rGeoffrey‎), Diego Kuperman (‎diegok‎), Harald Jörg (‎haj‎), Wolfgang Pecho, sotona, Aaron Rowe, DrForr, Dimitrios Kechagias, Daniel Mita (‎⚡🍡‎), Choroba, Thorsten Pape, Sam Anderson (‎Sam‎), Barbie, Eitan Schuler, Tori, Roland Schmitz (‎roli‎), Andreea Hosu (‎Andreea‎), Wesley Schwengle (‎waterkip‎), Paul Cochrane (‎ptc‎), Igor Bujna, Nikolas Kuimcidis, Snorri Briem, Andrew Beech, Abe Timmerman (‎abeltje‎), Jan Seidl (‎JaSei‎), Theo van Hoesel (‎vanHoesel‎), Martin Barth (‎ufobat‎), atoomic, raiph, Steve Rogerson, Maria Hedberg, Phil King, Felix Antonius Wilhelm Ostmann (‎Sadrak‎), Aaron Crane (‎arc‎), Søren Lund (‎slu‎), Dan Muey, Ingy döt Net (‎ingy‎), Dave Sherohman (‎dsheroh‎), quattro, Steffen Winkler (‎STEFFENW‎), scott, Andrew Nugged (nugged), Andreas Huber, Richard Newsham (‎rnewsham‎)

Community Sponsors

Enlightened Perl Organisation Magnum Solutions Logo Perl6 Community Perl Weekly