Johannes Haux
Git for Code Reviews
#1about 2 minutes
Understanding the Git Flow branching model
The Git Flow model uses long-lived stable and develop branches alongside short-lived feature branches to structure collaborative work.
#2about 6 minutes
Staging parts of a file for atomic commits
Use the `git add -p` command to interactively stage specific parts of a file, creating clean, single-purpose commits.
#3about 3 minutes
Updating the latest commit with git amend
The `git commit --amend` command allows you to add staged changes to the most recent commit, effectively rewriting it.
#4about 2 minutes
Updating a branch with git rebase
Use `git rebase` to move a feature branch onto the latest commit of its base branch, maintaining a linear history.
#5about 2 minutes
Modifying older commits with interactive rebase
An interactive rebase (`git rebase -i`) allows you to stop at a specific commit in your history to edit, amend, and then continue.
#6about 3 minutes
Using fixup commits and autosquash for easier edits
Create `fixup!` commits that target older commits and then use `git rebase -i --autosquash` to automatically merge them in.
#7about 4 minutes
Q&A on code review tools and git best practices
The speaker answers audience questions about prioritizing comments, the risks of rebasing shared branches, and writing effective commit messages.
Related jobs
Jobs that call for the skills explored in this talk.
Technoly GmbH
Berlin, Germany
Senior
JavaScript
Angular
+1
ROSEN Technology and Research Center GmbH
Osnabrück, Germany
Senior
TypeScript
React
+3
Matching moments
07:32 MIN
Deconstructing the overloaded git commit command
Coffee with Developers - Scott Chacon on growing GitButler and the future of version control
03:22 MIN
The asynchronous code review workflow in practice
Are Code Reviews Worth It? Insights from 16 Years of Review Data
02:31 MIN
Using Git as the single source of truth
Everything as Code: A Dozen As-Code Concepts beyond Infrastructure or Configuration as Code
04:27 MIN
Core principles of a Git-centric workflow
GitOps keeps focus on apps, not on infrastructure
03:33 MIN
Introduction to GitOps and the talk agenda
Get ready for operations by pull requests
07:13 MIN
Q&A on merge vs rebase and writing commit messages
Ask Your Code
01:53 MIN
Using Git and GitHub for version control
#90DaysOfDevOps - The DevOps Learning Journey
04:47 MIN
The workflow of an automated code review process
Build a CI/CD pipeline to automate code reviews and ensure code quality
Featured Partners
Related Videos
GitOps: The past, present and future
Roberth Strand
Keep your code refactorable
Gerrit Stapper
Conventional commits vs gitmoji
Omar Gallo
What AI Can Learn from Version Control - Daniel Siegl (Syntevo)
Daniel Siegl
How a Small Team Shrank a Microsoft Monorepo by 94%
Jonathan Creamer
GitOps for the people
Lian Li
A Practitioners Guide to GitOps - Introduction, Principles and Implementation
Thomas Schütz
Build a CI/CD pipeline to automate code reviews and ensure code quality
Julien Delange
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.



Grafton Deutschland GmbH
Nürnberg, Germany
Senior
GIT
Java
JIRA
Bash
Linux
+10

PiNCAMP GmbH
Berlin, Germany
Senior
React
GraphQL
Next.js

Code Healers LLC
Hinesville, United States of America
Remote
€40-50K
Intermediate
Senior
PHP
.NET
React
+2

&why GmbH
Berlin, Germany
€50-70K
Junior
Intermediate
Senior
React
Next.js
TypeScript

Confideck GmbH
Vienna, Austria
Remote
Intermediate
Senior
Node.js
MongoDB
TypeScript


Coperitus GmbH
Coburg, Germany
Intermediate
Senior
Java
JavaScript