Install SourceTree without an Atlassian account?

I’m trying to use SourceTree for a class that I’m teaching. In order to do that we need to install SourceTree onto the school’s Windows computers. When we try to install SourceTree (Version 1.9.10.0) it demands an Atlassian account before it will start. Obviously this is wrong – since we’re trying to install SourceTree onto […]

What does docker use for (image) versioning?

I am curious. It looks like git to me, but I can’t find sources that confirm that. Or does it have it’s own revision control system ?

How to use git on a continuous integration build server

We have a build server which is designed to check-out a version of the code from git and build it. Generally the server will check-out and build the develop branch, but it can be controlled by a GUI to perform a build of any specific branch or tag. Our git archive is large, so we […]

Git add on modified file not working, except with -p (patch)

After the first two hours of working all of the sudden, I can’t seem to git add one file. Casper@PC2015 MINGW64 /c/Workspace/edoping (develop) $ git add . Casper@PC2015 MINGW64 /c/Workspace/edoping (develop) $ git status On branch develop Your branch is up-to-date with ‘origin/develop’. Changes not staged for commit: (use “git add <file>…” to update what […]

Importing Subversion to GIT: problem with subpaths

We currently run a big subversion repository, and I’m trying to move it to GIT. The problem is that it uses trunks and tags below the root directory. For example: MyDepartment\MyOS\Project1\trunk\ <– master branch MyDepartment\MyOS\Project1\branch\v1 <– other branch MyDepartment\MyOS\Project1\tags\v1_20100101 <– release tag There are different departments, OS’s, and many different projects. So when I clone […]

sparse checkout gives me an error stderr: fatal: Not a valid object name HEAD

When I try to do a GIT sparse checkout in Jenkins, I get the following error: > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision b1697de347cafa3afbd9efc364b2874994e88b0e (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git config core.sparsecheckout true # timeout=10 > git read-tree -mu HEAD # timeout=10 Command “git […]

Eclipse: How to clone git over ssh with keyfile?

Hey, I am using Eclipse (while running Ubuntu 10.10) and would like to connect to a remote git. Normally I would use the egit plugin, but now I need to connect over ssh with keyfile. Unfortunately egit has no “with keyfile” option, is there a way to connect to my repository with my keyfile? Is […]

Git global hook customization

I am planning to write a few git hooks as a project which logs the user’s actions in a database. This database can then be used for querying for all his activities. The actions I am trying to log are commit pull push merge branch I want to get this packaged in distros which can […]

CLI grammar checker for determining tense

I like to use the present tense in my Git logs (for example, “Add feature” instead of “Added feature”). Currently, I have an extremely naive Git hook that aborts the commit if the first word of the log message ends in ‘ed’, but I’d like a more robust solution (where ‘more robust’ means ‘not totally […]

Can't see differences in remote branch after a git fetch

I’m a little confused about git fetch and comparing differences . I have the following local branches; master remote/origin/master In master branch I have a text file which I make changes to, commit and then push to the origin/master. In another local repo (for test purposes) I have a remote to the same repo as […]

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