Search, explore and find the perfect course for you

Advanced Git with Gerrit

This course will take your Git knowledge to the next level. It fuses a deeper look into how Git really works with a range of carefully selected practical techniques and advice on best practices. You'll come out of it with a better understanding of Git, a firmer sense of how to solve problems and create workflows, and a bunch more tools in your version control arsenal.

This course also introduces Gerrit, a fine tool for when you're working in bigger teams and want to coordinate tasks across team members.

  • GIT

Target audience

Here goes the target audience

Pre-requisites

The course *Introduction to Git*, or corresponding knowledge. A background with Gerrit is not required.

What you will learn

Day 1

Yo, DAG

  • A DAG refresher
  • Blobs, trees, and commits
  • Why SHA-1s and not version numbers
  • Specifying revisions and commit ranges
  • Viewing old revisions of files
  • The index, revisited
  • Atomic commits
  • Valuing the version history

Branches, shoots, and leaves

  • Creating, moving between and deleting branches
  • HEAD and detached HEAD mode
  • Working with remotes
  • Remote branches and refspecs
  • Gerrit
  • The defaul Gerrit workflow
  • The review process

Tags

  • Tags, lightweight and annotated
  • Tags and remotes
  • Tags and branches under the hood
  • The describe command

Merging

  • A merging refresher
  • pull = fetch + merge
  • The undesirability of merge commits

Amending and rebasing

  • The workflow for review feedback
  • Amending
  • Rebasing
  • Interactive rebasing

Day 2

Working with commits and changes

  • Sending and receiving patches
  • The stash, and stashing workflows
  • The reflog
  • Recovering from common mistakes
  • The reset command demystified
  • Searching the commit history efficiently
  • The bisect command

Working with branches

  • Types of branch
  • Some branching workflows
  • Merging strategies
  • Understanding recursive merges

Hooks

  • The hooks directory
  • Client-side and server-side hooks
  • The why and how of git hooks

Good to know

  • .gitignore and .gitattributes
  • How a commit object is formed
  • Common problems and their solutions
  • The gc command
  • The filter-branch command
  • Git shortcomings

Course info

Course code: T251
Duration: 2 days
Price: 19 500 SEK

Teachers

Share

Related courses

Contact us for details

+46 40 61 70 720
info@edument.se


All prices excluding VAT