Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Dealing with Git unlink file errors

Posted: February 17, 2016
Written by: Saints At Play

Chances are when using Git for your version management needs you may have encountered an error warning in the terminal similar to the following:

Counting objects: 2106547, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (269562/269562), done.
Writing objects: 100% (2106547/2106547), done.
Total 2106547 (delta 636114), reused 2106547 (delta 636114)
Unlink of file '.git/objects/pack/pack-105e2cad4265551672452c ... 5127bac40.pack'
    failed. Should I try again? (y/n)

Pretty annoying right?

Fixing this is actually pretty simple...

More »

Undoing a local Git merge

Posted: December 10, 2015
Written by: Saints At Play

Git is a fantastic tool for managing project code within a team context but, as with any tool, there'll always be occasions when you run into problems.

One such problem might occur where you want to undo a local branch merge that hasn't been pushed to the remote repository. Sounds tricky right?

The following are ways in which this can be accomplished relatively quickly...

More »

Git shortcut for adding and committing changes

Posted: January 15, 2015
Written by: Saints At Play

Here's a great shortcut when using Git to simultaneously add and commit changes to your repository.

More »

Resolving public key permission denied errors with bitbucket

Posted: January 15, 2015
Written by: Saints At Play

You've set up your remote Bitbucket repository and the corresponding SSH keys have been generated. You're making your first commit and the terminal application displays the following error:

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Not sure what's happening or how to begin resolving this?

More »

Setting up SSH keys on Mac OS X for Bitbucket

Posted: March 20, 2014
Written by: Saints At Play

If you're using a Git based source control management (SCM) service you'll need to create and configure SSH keys to facilitate trusted communication between your computer and the remote SCM repository. If you're using Mac OS X (or similar unix based system) then this process turns out to be relatively simple.

In the following article we'll show you how to accomplish this so you can safely and securely connect to one such SCM service - Bitbucket.

More »

Latest Tweets