2,025 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
55
views
There is one active patchset which is not merged to my Master....I want to merge that patch set to my local and don't want to affect remote [closed]
There is new version of 8 of my files which I have cloned , Those new 8 files are presented in a patchset which is not yet merged with the master,So I want to replace my old 8 files in local with that ...
-4
votes
1
answer
144
views
Retain only initial & latest commit
I need to retain only the initial & latest commit in both the master and release branches of my Gerrit repository.
So how do i remove all previous commits and keep only the initial(repository ...
1
vote
1
answer
135
views
How can I resolve merge conflicts in a Gerrit merge commit without redoing the entire merge process?
I have two branches, A and B. I merged A into B, resolving numerous merge conflicts in the process. However, while I was working on the merge, branch B moved forward.
When I pushed my merge commit to ...
-1
votes
1
answer
72
views
Git push to Gerrit only the HEAD commit excluding previously cherry-picked commits
I have cherry-picked a number of changes and would like to update and push only the top-level commit. However, all the cherry-picked commits are also getting updated. For example, change 444683 ...
0
votes
0
answers
59
views
Why Gerrit Only Shows the Latest Change Instead of the Full File Update when pushed from one branch to other
Branch Setup:
• I started with a main branch.
• Then, I created a task branch from main.
Incremental Changes:
• On task, I edited my.txt multiple times:
• First, I added "Shape" and committed and ...
0
votes
0
answers
324
views
fatal: update_ref failed for ref 'HEAD'
I am trying to clone a git repository from the gerrit system, but I encounter an error given below.
$ git clone ssh://gerrit.codereview.com:29418/repo/abc
Cloning into 'abc'...
remote: Counting ...
1
vote
1
answer
129
views
Create a new patch set in Gerrit before reviewing patch set 1?
I am new to Gerrit, and I want to know about patch sets. Suppose I have created a review in Gerrit with patch set 1, and the review is still in progress. I know that some of the code needs to be ...
0
votes
2
answers
144
views
how to read json data in groovy
Team,
I am making a call to gerrit server and return is I believe json. From this I am trying to read fields but getting error in the first step itself. any hint? My call to gerrit and storing its ...
-1
votes
2
answers
123
views
Can't clone git repo due to username being in capital letters
I just got a new computer. Installed git and gerrit as i always do. Now for some reason i can't clone my repos using the functions i previously had. I did some fault tracing and found that the reason ...
0
votes
1
answer
52
views
In Gerrit's REST API, how do I find the patchset ID Values? I have the url.../details JSON but can't find it in there
I am making a request.get to get the JSON, and want to do it again with the latest patchset and the extension /revisions/(patchSetNumber)/files to find all the modified files. I can't figure out how ...
1
vote
2
answers
194
views
Suggestions for good workflows with git, when gerrit is the central repo
I have some major overhead when working with Gerrit. I have not found any guides that makes sense to me, on how to adopt a local workflow for Gerrit. What follows is how I work locally when the ...
0
votes
0
answers
73
views
Can I update latest Gerrit commit without submitting the chained commits?
I have chained commits in Gerrit (all in review, not yet merged).
I want to update the most recent one without changing previous commits
I've tried updating latest patch (git ammend) and pushing it to ...
0
votes
0
answers
60
views
The commit-received hook is not displaying the list of committed files
"We have configured a Git server with Gerrit, and the Gerrit version is 2.16.28.The gerrit installed in linux server.Currently, we are committing projects from Eclipse using Windows OS. Now, the ...
0
votes
0
answers
54
views
How does SSH make sure server side output not lost while client side consume slowly
I'm developing an application that consumes result of command ssh -p29418 [email protected] gerrit stream-events -s comment-added.
This command output events as json, one event per line.
{"type"...
0
votes
1
answer
51
views
git is updating two branches on gerrit server
when I do git push origin HEAD:refs/for/main the changes are being pushed to two branches. How can i just push to my branch? there is something messed up in my local settings.. I don't want to push ...
AhmFM's user avatar
- 1,842