SlideShare a Scribd company logo
Configure for Gerrit
In this exercise you learn how you configure your local repository for the work with Gerrit.
This exercise is only necessary if you have not done it already in git exercise 1 “Installation
and Configuration”.
However you can run the Gerrit configuration wizard again if you want to e.g. change the
target branch.
Preparation
You have cloned the example repository.
Configure Gerrit
When you use Gerrit as a server for the central repository you need some configuration
settings of your local repository.
● Normally do not directly push to the branch on the remote repository but into the
review queue. Before you push to Gerrit you have to configure that once for your
local repository.
● You may need another URL. This is not the case in our training setup.
● You should push changes with a change-ID line in the commit message. You can
configure the local repository such that EGit will always create a Change-ID.
● You may want to fetch the review notes from Gerrit (More details in another
exercise).
Gerrit configuration wizard
Open the node “Remotes” of your repository in the Git Repositories View. Select Gerrit
Configuration… on “origin”
You can keep the default values in the Wizard page:
Resulting Repository Configuration
You can check the result in the Configuration of the local repository. Select Properties on the
repository node in the Git Repositories View.
Copyright © 2014 by C. Halstrick, E. Kempin, S. Lay, S. Zivkov, M. Sohn

More Related Content

PPTX
Nathan's Portfolio
PDF
Inc281 54261512 4
PDF
Agenda almaty 2014 final
PDF
Road trip
PPTX
Photo/Storyboard
PPTX
PRESNTACION Elquin murcia camacho
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change
Nathan's Portfolio
Inc281 54261512 4
Agenda almaty 2014 final
Road trip
Photo/Storyboard
PRESNTACION Elquin murcia camacho
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 2 - fetch the latest state
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 5 - improve a change

Viewers also liked (9)

PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
PPTX
2012 Beginning of Year Faculty Survey
PPTX
Safe Zone Ally Workshop adapted for Notre Dame College
PPTX
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
PPT
Msu Product Center Resources
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 9 - starting demo gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 3 - push change to gerrit
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 8 - view gerrit review ...
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 6 - submit a change
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 7 - new changescreen
2012 Beginning of Year Faculty Survey
Safe Zone Ally Workshop adapted for Notre Dame College
News from EGit - Talk EclipseCon Europe 2014 - Ludwigsburg
Msu Product Center Resources
Ad

Similar to Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit (20)

PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 01 - installation and conf...
PDF
How to Really Get Git
PDF
Git and Github slides.pdf
PDF
Git and Github workshop ppt slide by slide
PDF
git-commands-cheat-sheet-infopediya-com.pdf
PDF
18 Git #burningkeyboards
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
PDF
Git 101: Force-sensitive to Jedi padawan
PDF
Gerrit tutorial
PPTX
Setting up Git.pptx
PDF
01 git interview questions & answers
PPTX
Git tips
PDF
Git tutorial
PDF
Git Interview Questions PDF By ScholarHat
PDF
Jedi Mind Tricks in Git
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 02 - develop a feature
PDF
My Notes from https://www.codeschool.com/courses/git-real
PPTX
Culture of working together with git
PDF
Recipes_ It's About Time _ Drupal Dev Days 2025 Leuven.pdf
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 03 - work on branches in p...
Git Tutorial EclipseCon France 2014 - Git Exercise 01 - installation and conf...
How to Really Get Git
Git and Github slides.pdf
Git and Github workshop ppt slide by slide
git-commands-cheat-sheet-infopediya-com.pdf
18 Git #burningkeyboards
Git Tutorial EclipseCon France 2014 - Git Exercise 04 - merging rebasing and ...
Git 101: Force-sensitive to Jedi padawan
Gerrit tutorial
Setting up Git.pptx
01 git interview questions & answers
Git tips
Git tutorial
Git Interview Questions PDF By ScholarHat
Jedi Mind Tricks in Git
Git Tutorial EclipseCon France 2014 - Git Exercise 02 - develop a feature
My Notes from https://www.codeschool.com/courses/git-real
Culture of working together with git
Recipes_ It's About Time _ Drupal Dev Days 2025 Leuven.pdf
Git Tutorial EclipseCon France 2014 - Git Exercise 03 - work on branches in p...
Ad

More from msohn (18)

PPTX
Project Gardener - EclipseCon Europe - 2018-10-23
PDF
News from Git in Eclipse - EclipseCon EU - 2016-10-26
PDF
Git journey from mars to neon EclipseCon North America - 2016-03-08
PDF
Versioning large binary files with JGit, EGit and Gerrit
PDF
News from Git in Eclipse - EclipseCon 2015 Europe
PPTX
Git missiontomars 2015-03-10
PDF
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
PDF
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
PDF
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
PPTX
Interactive Rebase with EGit
PDF
EGit 3.0 and beyond
PPTX
Cool new stuff in JGit and EGit - Eclipse Democamp Munich 2013-06-12
PDF
Large Scale Development with Git and Gerrit - EclipseCon Europe 2012
PDF
News from Git in Java Land
PDF
The Git Tutorial - EclipseCon 2012
PPTX
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02
Project Gardener - EclipseCon Europe - 2018-10-23
News from Git in Eclipse - EclipseCon EU - 2016-10-26
Git journey from mars to neon EclipseCon North America - 2016-03-08
Versioning large binary files with JGit, EGit and Gerrit
News from Git in Eclipse - EclipseCon 2015 Europe
Git missiontomars 2015-03-10
Git Tutorial EclipseCon France 2014 - Gerrit Exercise 4 - review change
Git Tutorial EclipseCon France 2014 - Git Exercise 07 - git blame
Git Tutorial EclipseCon France 2014 - Git Exercise 06 - interactive rebase
Git Tutorial EclipseCon France 2014 - Git Exercise 05 - history view
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
Interactive Rebase with EGit
EGit 3.0 and beyond
Cool new stuff in JGit and EGit - Eclipse Democamp Munich 2013-06-12
Large Scale Development with Git and Gerrit - EclipseCon Europe 2012
News from Git in Java Land
The Git Tutorial - EclipseCon 2012
Eclipse Hackers Guide to the Git Universe - Eclipse democamp Vienna 2011-12-02

Recently uploaded (20)

PDF
Digital Strategies for Manufacturing Companies
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
AI in Product Development-omnex systems
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
Transform Your Business with a Software ERP System
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
medical staffing services at VALiNTRY
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
Digital Strategies for Manufacturing Companies
PTS Company Brochure 2025 (1).pdf.......
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
AI in Product Development-omnex systems
2025 Textile ERP Trends: SAP, Odoo & Oracle
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
How to Choose the Right IT Partner for Your Business in Malaysia
Understanding Forklifts - TECH EHS Solution
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Transform Your Business with a Software ERP System
Design an Analysis of Algorithms I-SECS-1021-03
medical staffing services at VALiNTRY
Navsoft: AI-Powered Business Solutions & Custom Software Development
Upgrade and Innovation Strategies for SAP ERP Customers
Wondershare Filmora 15 Crack With Activation Key [2025
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
wealthsignaloriginal-com-DS-text-... (1).pdf

Git Tutorial EclipseCon France 2014 - Gerrit Exercise 1 - configure for gerrit

  • 1. Configure for Gerrit In this exercise you learn how you configure your local repository for the work with Gerrit. This exercise is only necessary if you have not done it already in git exercise 1 “Installation and Configuration”. However you can run the Gerrit configuration wizard again if you want to e.g. change the target branch. Preparation You have cloned the example repository. Configure Gerrit When you use Gerrit as a server for the central repository you need some configuration settings of your local repository. ● Normally do not directly push to the branch on the remote repository but into the review queue. Before you push to Gerrit you have to configure that once for your local repository. ● You may need another URL. This is not the case in our training setup. ● You should push changes with a change-ID line in the commit message. You can configure the local repository such that EGit will always create a Change-ID. ● You may want to fetch the review notes from Gerrit (More details in another exercise). Gerrit configuration wizard Open the node “Remotes” of your repository in the Git Repositories View. Select Gerrit Configuration… on “origin”
  • 2. You can keep the default values in the Wizard page: Resulting Repository Configuration You can check the result in the Configuration of the local repository. Select Properties on the repository node in the Git Repositories View. Copyright © 2014 by C. Halstrick, E. Kempin, S. Lay, S. Zivkov, M. Sohn