I want the latest changes from gerrit and need to pick the changes to putty. How can I pick Changes from gerrit to putty.
CodePudding user response:
I see “Not a git repo” when I’m in a non git directory. So, to start, make sure git status works from the directory you’re in and you have a .git directory in the base directory of your repo.
CodePudding user response:
First of all, you need to clone the repository from Gerrit:
- Sign in to the Gerrit UI
- Click on BROWSE > Repositories
- Find the repository using the "Filter" field
- Click on the "Repository Name"
- Copy the clone command from the "Download" section
- Execute the clone command in the terminal
Then you can use the "cd" command to enter in the local repository directory, and cherry-pick the commit you want.