Analogue of git tag hook

Do you have any ideas how can I fire a script while I’m making tagging? I know that currently there is no a separate git tag hook but it should be some way how to do that. For instance, try to use pre-push hook while you push your tags or something similar. Did anyone do […]

mingw64 shell perl CPAN does not work for any module

$ perl -MCPAN -e ‘install XML::Simple’ Reading ‘/u/.cpan/Metadata’ Database was generated on Fri, 14 Oct 2016 19:29:02 GMT Running install for module ‘XML::Simple’ Checksum for /u/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple-2.22.tar.gz ok directory tmp-9128 changed before chdir, expected dev=235194353 ino=7590237479028601933, actual dev=235194353 ino=15919093302750535503, aborting. at /usr/share/perl5/core_perl/CPAN/Distribution.pm line 623. Please suggest any solution, even manually download and install is not working.

github pull-request with merging issues

I have a forked version B of the original repository A. There are “Issues” in A and B, the ones in B have been reported during testing of a new feature. How is it possible to include the issues of B into the repository A upon pull-request? I just made a simple test and the […]

Jenkins Pipeline ignores exludeMessage Option for git checkout

My jenkins pipeline checks out the GIT repository in the first stage, there fore I’m using checkout([$class: ‘GitSCM’, branches: [[name: ‘*/master’]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: ‘MessageExclusion’, excludedMessage: ‘.*\\[Gradle-Release-Plugin\\].*’], [$class: ‘LocalBranch’, localBranch: ‘master’]], submoduleCfg: [], userRemoteConfigs: [[credentialsId: ’48b64fd8-f0c8-4bcd-91e8-58f763e9be0c’, url: ‘https://bitbucket.org/private/private.git’]]]) To prevent builds for automatic version change commit, the excludeMessage options is used. Nevertheless Jenkins starts […]

GitHub Pull Request complex conflicts

GitHub added a feature about a month ago to resolve merge conflicts on the web interface, however it only works for “simple” merge conflicts: No conflicts Simple conflicts Complex conflicts In the blog post that introduced the new feature, GitHub mentions competing line changes, which can range from fairly simple to quite complex. What qualifies […]

SVN to Git with History?

For years, we have used SVN for our repository, and we want to migrate to Git. In 2015 someone made a change in one of our repositories. He made a separate folder in the repository (with an subfolder), on the same folder hierarchical level like /trunk, /branch and /tags. (see projectA) svnroot/ |– projectA |– […]

Squash commits in git

So I fork, then branch, and commit code. Now I have 15 commits of my work I need to squash into one. So first I pull in a merge the upstream code. git fetch upstream master git merge upstream/master master Then I try an squash the last 15 commits on the branch I’m on (not […]

Cannot use git hub extension as root

What do I need to run git hub as root? git hub works perfectly in non root user. To install it as root, I ran brew install hub which lead to # brew install hub W: be careful as root. ======================================================================== You may want to update following environments after installed linuxbrew. PATH, MANPATH, INFOPATH (example: […]

Jenkins “Git plugin” neither ignores commits with certain messages nor commits with from certain users

I am using Jenkins “Git plugin” to poll my git repository for commits. I have been using the “Advanced behavior” options “polling ignores commits from certain users”,”polling ignores commits with certain messages”, as well as “polling ignores commits in certain paths”. These seemed to work with an earlier version of Jenkins and the Git Plugin. […]

Where do piped files go on Windows?

I was experimenting with pipelines in Git Bash. I ran “ls || vim“, thinking that it would open Vim with the contents of the Directory Listing written into the editor. That is not the case, and rather, it saved the file. I haven’t been able to find where, though. Any ideas? Git Bash starts at […]

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