Push and delete remote git branches
This is easy to do, but I always forget how to do it, so this is more a reminder to myself than anything else. To create and checkout a branch in git : ...
This is easy to do, but I always forget how to do it, so this is more a reminder to myself than anything else. To create and checkout a branch in git : ...
Recently I had a bit of trouble getting {{ “github.com/aanand/git-up” | ext_link: “git-up”}} to work on Ubuntu (or anywhere else for that matter), so here’s some of the steps I had to go through. Initially ubuntu seems to have RubyGems 1.01 and 1.2.0 installed : > gem --version 1.2.0 >/usr/bin/gem1.8 --version 1.2.0 >/usr/bin/gem1.9 --version 1.0.1 ...
I haven’t used ruby for a while, but recently wanted to try out {{ “github.com/aanand/git-up” | ext_link: “git-up”}} on OSX. According to the {{ “github.com/aanand/git-up/blob/master/README.md” | ext_link: “instructions”}}, a simple gem install git-up should work : > sudo gem install git-up Updating metadata for 1 gems from http://gems.rubyforge.org . complete ERROR: could not find git-up locally or in a repository I assume this is something to do with gem hosting moving to github or something… I haven’t really been following ruby for a year or so so I’m not sure exactly what’s going on. It seems i’m running a pretty old version of RubyGems, so I tried to update : ...
I recently imported the old Clutch code into git , but for some reason it ignored the authors.txt file I provided, and used the original svn user names. This info is based largely on this stack overflow post . First, clone your repository locally : ...
The default Apache mod_dav_svn listings are a little bland, but luckily you can use the SVNIndexXSLT Apache directive to spice things up a bit. I’ve been using a slightly modified version of the fantastic ReposStyle XSLT styles. Assuming you’ve already set up subversion , download the latest ReposStyle from here and drop it in the document root, and configure Apache something like this : ...
I recently migrated from Trac (at http://recurser.com/trac/ ) to Redmine (at http://recurser.com/code/ ), and wanted the Trac links to redirect to the right place if possible. The nginx rules that follow achieve most of that. As always, there are a few catches: ...
The preference to remove these links in iTunes 7 seems to have disappeared in version 8. You can turn them off, however, in the terminal : $ defaults write com.apple.iTunes show-store-arrow-links -bool FALSE Restart iTunes, and the links should be gone.
Recently I had an SVN repository with a couple of corrupt revisions that I couldn’t figure out how to fix, which caused Trac to stop displaying revisions after the corruption. Trying trac-admin resync was no help, throwing this exception : ...
Before you do anything, go ahead and install subversion . Install the python easy install tool: ...
If you’re getting a ‘svn: Can’t find a temporary directory: Internal error’ error while using subversion, check the disk space on the server : $ df You’re more than likely out of space. [dave@dev2:~/]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vg0-rootvol 73608360 73605908 0 100% /