Posts Tagged ‘svn’
Thursday, June 10th, 2010 by Jesper Rønn-Jensen
At a current project I work on, we use a Windows server to run our subversion repository.
I wanted to set up the pre-commit hook so that commits with empty comment are automatically rejected.
All commit-hook example files that go with Subversion are written in bash (as unix servers tend to be the normal).
Here is [...]
Tags: Code, subversion, svn, windows
Posted in Code | Add Comment »
Wednesday, July 8th, 2009 by Jesper Rønn-Jensen
Many of my colleagues know svn but are in general not (yet) ready jump over to using Git for bigger projects.
Today I had to import my existing Git repository into SVN. I had been working locally with a Git repos and wanted to keep my history before giving access to my colleagues.
The guide from [...]
Tags: Code, git, subversion, svn, Web Development
Posted in Code | 6 Comments »
Monday, March 9th, 2009 by Jesper Rønn-Jensen
For the last months I have been using Git to work with my Subversion repositories. Besides from reducing disk usage, Git also makes my work slightly faster and independent of network access — I can make commits to repository which is sync’ed later when I get online.
One challenge though: Using branches
I ran into some pitfalls [...]
Tags: git, svn, workflow
Posted in Code | 9 Comments »
Saturday, February 21st, 2009 by Jesper Rønn-Jensen
My problem this week: I wanted to share some work with a colleague. Unfortunately we have not yet setup our caplab environment with git server. Nor did i want to push this particular project to GitHub or Unfuddle. My alternative was a file-based setup:
Each developer’s machine has it’s own Git repository.
On my machine I had [...]
Tags: Code, git, ssh, svn, Web Development
Posted in Code, Web Development, justaddwater.dk | Add Comment »
Saturday, January 17th, 2009 by Jesper Rønn-Jensen
A side benefit of switching from Subversion to Git for source control is that Git does not use shadow files and directories to find out what has changed.
I created two checkouts of a svn project — one using traditional svn and one using git (which can actually clone a svn repos — see explanation below).
[~/my-projects] [...]
Tags: Code, git, gitify, svn
Posted in Code | 3 Comments »