Skip to content

Tag: git

Differences in build on Jenkins?

I configure Jenkins to build a project from git, i’m using maven: However, the project build is incomplete: In a terminal the build occurred correct: In both case no error occurs and a build is finished with sucess. I don’t know exactly, why the differences are happening. Answer I was making two m…

Git whitespace/line ending

I’m going to give you a simplified version of what happen and where I am right now. I have tried different solution but I’m not even sure where does my problem come from. I made some modification on my branch B which is a fork of the branch A of an upstream repository. Then I tried to Pull Request…

Gobblin Git clone error

When trying to download and build Gobblin from git clone. By following, Download and Build Gobblin Locally On your local machine, clone the Gobblin repository: It gives following error in my Amazon Ec2 instance. How to avoid that error message? Answer The issue is not about communicating with the goblin serve…

Using repo with goldfish Android kernel

I was trying to configure repo with a local_manifest.xml file to get the goldfish Android kernel available at: https://android.googlesource.com/kernel/goldfish.git I have written the following local_manifest.xml file that I copied in .repo/manifests/local_manifest.xml: Giving the following command: repo init …

how to use git log and grep together?

I am trying to use git log and grep together with pipe. However, it doesn’t seem to work. I am grepping for the bug-id from the git log. Here is what I am doing. Answer You can use git log –grep “BUG-1024”

Running git from node.js as a child process?

I am attempting to write a generic command-runner in Node.JS – however that’s not massively important. My setup is as follows: I have a list of string commands that are executed using child_process.exec one after the other. I want to run git from one of these commands, specifically a pull. The loc…