Sam's notebook

Composer repository URLs can't use UNC paths? April 8th, 2014, 7PM

Programming

It would seem that when using Composer on Windows, one cannot use UNC paths as repository URLs. That is to say, the following doesn’t work: { “repositories”: [ { “type”: “vcs”, “url”: “//SERVER/Share/project.git” }, ] } Instead, the share must be mapped and the mapped drive letter used: “url”: “G:/project.git” This does, of course, have […]

[One comment] [Keywords: , , , , , , , , , ] [Permanent link]

Contributing to Github-hosted projects May 7th, 2012, 8AM

Programming

Some projects provide information about how people should fork and contribute to them. This is my general approach (included here, obviously, for my own edification): Fork a project: Github clickity-click Clone it locally: git clone git@github.com:username/project.git Add the upstream project: git remote add upstream git@github.com:upstream/project.git Do not commit to the master branch; it is to […]

[No comments] [Keywords: , , , , , ] [Permanent link]