Click to search Andy Jarrett.co.uk RSS feed

Loading Twitter

git and file name case

I needed to change the case of 2 files recently which when it came to committing with Git did not take. It seems since version 1.5.6 you can set ignorecase = "true" which seems to be the default.

To change this setting go to your project and edit the .git/config and set ignorecase = "false" or simply remove it

Comments Comments (1) | Print Print | Send Send | 1074 Views

Free git book resource

Git Logo

http://progit.org/ is a website for the Pro Git book, written by Scott Chacon. Whats great is that you can read the full contents online (like the SVN book) so it acts as a great Git resource to have. Covering everything from a history of Git, to getting started, the Protocols, distributed workflows, and event migrating from SVN to Git. If you haven't looked at Git yet or just starting then bookmark it now.

You can of course support the book and buy a print copy copy for your bookshelf.

Comments Comments (0) | Print Print | Send Send | 1054 Views

unpacker error when pushing Git

Im using GIT more and more on my own personal projects but as a single developer commiting I don't get many issues. Then I get a weird unpacker error

[sourcecode language="plain"] andyj$ git push origin master Counting objects: 38, done. Delta compression using up to 2 threads. Compressing objects: 100% (20/20), done. Writing objects: 100% (20/20), 5.96 KiB, done. Total 20 (delta 15), reused 0 (delta 0) error: unpack-objects died of signal error: unpack failed: unpack-objects abnormal exit To /*******/*********/*******/***********.git ! [remote rejected] master -> master (n/a (unpacker error)) [/sourcecode]

The fix is simple. [sourcecode language="plain"]$git repack remote/origin/master[/sourcecode]

Find out more at the docs

Comments Comments (4) | Print Print | Send Send | 2296 Views

BlogCFC by Raymond Camden + Twitter @AndyJ + ColdFusion jobs + Contact Me + Snippets/Downloads + RSS .