All Questions
27
questions
18
votes
2answers
4k views
How can I make a link to a git changeset in Trac when there is more than one repository and neither one is default?
While working with just one associated repository, I was quite used to reference changesets in my Trac tickets using the changeset keyword and the commit's SHA1 hash like this:
[changeset:af54b6d]
...
14
votes
3answers
6k views
Error with changeSet in jenkins pipeline (Error:java.io.NotSerializableException: hudson.plugins.git.GitChangeSetList)
I have this error:
java.io.NotSerializableException: hudson.plugins.git.GitChangeSetList
when ChangeSet!=null but the strange is that the error ocurred when updating this plugin: Pipeline Shared ...
4
votes
1answer
1k views
How should I publish artifacts to an artifact repository to assure that I can easily get the right binary?
We are DSCM and building different branches, forks or pull requests and now I am trying to migrate to a model where we publish the binaries in an Artifact Repository (like Nexus, Artifactory or ...
4
votes
1answer
2k views
Git: push a different changeset to heroku
I want to push a previous version of my repository. How can I push to heroku a previous changeset?
something like:
git push heroku 07226c49428354b09349ec45078122ce7cd410c8
thanks!
EDIT: Some ...
3
votes
3answers
5k views
How to revert a commit and put changes back to stage
How can I revert a commit but put the changes but on the stage so I can edit the commit until it is what I want.
Formerly I've been familar with TFS, where revert did exactly that, but in GIT git ...
3
votes
2answers
2k views
Get git SHA1 hash of a changeset (or diff) in a commit
I'm mostly integrating finished topic branches into the main development branch, in git. While doing that I sometimes have to change the message of commit (improving, correcting spelling, ...) which ...
2
votes
1answer
398 views
Display list of changesets linked to a particular Ticket on Trac
I have a Trac installation with the Trac-Git plugin. When committing to git, I can use TracLinks to reference to a Bug by using a prefix bug:123 or #123 and the changeset is linked to the bug. I want ...
2
votes
0answers
143 views
Eclipse equivalent to changelists in Intellij
In IntelliJ there's an option to group files (local) changes in changelists
All changelists are displayed in the Local Changes tab of the Version Control tool window Alt+9. All modified files are ...
1
vote
1answer
208 views
Is there an equivalent of git-walk next / git-walk prev in hg?
I read that git-walk next / git-walk prev will allow you to move through changesets committed linearly so that you can play them back in a presentational setting within your local working copy.
Does ...
1
vote
2answers
99 views
Detecting modified file list in a commit in Jenkins
I have a project structure similar to the below. Each project has a descriptor file that mentions which version of the project should be deployed to the remote server. The project zips are already ...
1
vote
1answer
2k views
how to get changeset list of current build in Jenkins
Am looking for a solution where I can get change set of current build from last successful build.
We are using git hub as SCM
I want to get the change set redirected to a text file, where I can ...
1
vote
1answer
2k views
How to know the origin of a fork in git?
I'm working with a forked copy of a repository in git that was forked some years ago. I would like to see what changes have been made to the forked repo since the first time it was forked in order to ...
1
vote
1answer
874 views
Make Git commit message reflect edited TFS changeset comment
TL;DR
As described in this post, I changed a TFS changeset comment. How can I get this to be reflected in the corresponding Git commit in my local Git repository, using Git-Tfs?
Verbose version
I'm ...
1
vote
1answer
51 views
How to map hg changeset with git changeset after converting?
I converted my repositories from Mercurial to Git (pulled from Bitbucket(hg, Mercurial), pushed to GitLab (git)), I found that after converting from hg to git, in GitLab now, the changeset number has ...
1
vote
1answer
445 views
NotSerializableException thrown when accessing currentBuild.changeSets in Jenkins pipeline
I'm very new in Jenkins Pipeline and groovy script so please bear with me. I am trying to setup a Jenkins pipeline where I can access the modified (Git) files in the current build. I do this with the ...
1
vote
1answer
84 views
What are the changeset and codecurn in git
I want to ask about changeset and codecurn. How I get changeset and codecurn value from my git project?
I need this for development research data, I am successful to get line of code, developer, ...
1
vote
0answers
125 views
Is there a way to get back the changeset history of the deleted branch?
I'm accustomed with the gitflow approach and git-based repositories.
In my current project we are using TFS with an in-house TFVC based repo and I'm struggling with reviewing the history off changes.
...
0
votes
1answer
192 views
Web Part "Recent Checkins" in sharepoint not showing changes
I have connected a project to my TFS. When creating a team project I have also created a SharePoint site. Everything is working well except for the "Recent Checkins" web part which are not being ...
0
votes
1answer
230 views
git hook getting changeset after an auto commit
I have a hook that takes the changed files and copies them to a directory it works for standard commits but the auto-commit of a merge breaks it as the last two commits doesn't contain any changed ...
0
votes
1answer
105 views
Git: permanently ignore a specific changeset (but not future changes)
I have a settings file that contains some settings that are environment/machine/developer specific and some settings that are globally applicable. When I change the stuff that is developer specific, ...
0
votes
0answers
40 views
Jenkins pipeline - need to output GitHub repository with changes
I have a pipeline that is being triggered after other build pipelines.
What it does - takes last commit and commit date and outputs them. This is the code:
script {
dir('my-dir') {
...
0
votes
0answers
109 views
How can i merge only the change set, rather than the whole branch in GIT?
I have worked on a ticket generated at JIRA, now I want to merge only the changes that are regarding that change and don't want to merge other changes using Visual Studio.
0
votes
1answer
45 views
Git list of changed files has been wiped
So I was working on a project when Windows 10 decided to update to 1607. I had saved all my work but not committed some 22 changed files.
After the update and re-installation of IIS, I have opened my ...
0
votes
1answer
138 views
git rollback changes to changeset many changes ago(almost 1 week ago), not just a few commits
I need to roll back our master branch to a changeset almost 1 week ago and many changesets ago.
i have tried
git reset --hard <changeset> I get an error trying to push to origin , it won't ...
0
votes
1answer
240 views
Same change keeps reappearing after checkout
Git keeps adding the same changeset, which looks like this:
@@ -1,12 +1,12 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"...
-1
votes
1answer
77 views
How to see merged changes? [duplicate]
I ran git pull origin master. After this I run git log --patch.
I see the my changes, but I see no changes which were merged:
commit XXX (HEAD -> XXX)
Merge: XXX XXX
Author: Victor Porton <XXX&...
-2
votes
1answer
39 views
Several branches merged to master, then realize more changes need to be added what to do?
Let's say for sake of example; I'm working on a static website which is generated using a template engine. The example stinks a little bit from a coding stand point (of course if you were generating ...