While building a git project from jenkins it shows an error like couldn't find any revision to build

While trying to build a git project through jenkins it gives an error ‘ERROR: Couldn’t find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE’ What does this error means and what should I do to remove it?

Backup then reset master branch with git?

I have a git repository (on github) that has the first state of a project which was started then abandoned by its first developer. We are some to have decided to take back this project, but we agreed not to start from the previous code, because it does not match exactly what we plan to […]

Git/SVN for asp.net development instead of VSS?

At work, we are using ASP.net 2.0 and VSS. VSS is a beast, we are continually having issues with people checking out files and there is no branching – makes it crazy. I know SVN/GIT is mainly used by open source developers, are there any downsides to ASP.NET developers using it? I have been pushing […]

migrate svn to subdirectory of git

I’d like to replace my svn repository with git. Unfortunately I can’t do this in one shot and to cut a long story short, I need to move an svn repository, with history, into a subdirectory of a pre-existing git repository. So I currently have: svn: svn1/ svn2/ git: git1/ .git/ gita/ And I want: […]

How do I use Notepad++ Compare as the diff tool in git bash/command line?

Is there any way to change the default diff tool in gitbash? This post seems to suggest it is possible but they provided no command line examples. Link: Running NotePad++ from Command line with Compare Plugin showing compare result

Git Merge branch 'master' of https://bitbucket.org/xxx/yyy

We have come to git after using SVN for years and at times, I must admit, it is confusing. Take the following example – User1 makes a change to a.java and pushes to the remote server. User2 makes a change to b.java. He can’t push straight away (a deviation from SVN but that is OK). […]

Git push/pull paths not working to windows origin running msysgit + cygwin sshd

In trying to resolve the issue I was having for: managing website on windows using git, I installed Cygwin openssh and Git for Windows (msysgit) on a Windows 2008 server (let’s call this myserver). I have a bare git repo setup at the cygwin path /var/git/example.git, which maps to c:\cygwin\var\git\example.git on Windows. I have a […]

Where to git init for Java project?

I’ve created workspace TestWorkspace and in it, I created project Testing Project(now which has .settings, src, bin folders and .classpath, .project files). I will add my code under this project and I want to host this project on gitHub. In order to do that, I’ll have to git init Where should I git init? In […]

New git repository in root directory to subsume an exist repository in a sub-directory

I am working on a large code base that is not currently under any revision control (yes, really). I have been working on one component in a deep directory and created a covert git repository to track my changes. I now want to add all the code to source control and make a repository for […]

post-receive hook fails – any chance to see why?

I’m implementing this approach to send updates to my website: created bare repository to push to $ mkdir website.git && cd website.git $ git init –bare And added the following hook: $ mkdir /var/www/example.com $ cat > hooks/post-receive #!/bin/sh GIT_WORK_TREE=/var/www/example.com git checkout -f $ chmod +x hooks/post-receive when I push to website.git from local repository, […]

Git Baby is a git and github fan, let's start git clone.