TechBlog

find problem | solve | publish

Skip to content
Menu
  • Home
  • About

Month: July 2013

GeneralPosted onJuly 23, 2013November 3, 2016

Copying/moving a Git repository including all branches to a new remote repository

Please note: this is written from the perspective of using the Git Bash shell. Clone the repository to be copied into a new location to ensure it is a fresh checkout git clone old-repo-url checkout-location cd into checkout-location, and run the following to checkout all branches from the remote: for…

Read More
GeneralPosted onJuly 22, 2013November 3, 2016

Renaming a Git repository under Gitolite, keeping an alias for the old name

(If you haven’t yet seen it, Gitolite is a set of scripts for configuring a central Git server – see https://github.com/sitaramc/gitolite) Renaming a repository is simple and fairly painless: Log onto your Git server (and any slaves), go to the repositories directory (by default it’s at ~/repositories), and rename your…

Read More

Flair

profile for adrian at Stack Overflow, Q&A for professional and enthusiast programmers

Useful links

  • Dev Cheatsheet
  • Regex Tester
  • Ruby Koans
  • Sysinternals Suite

Recent posts

  • Static code analysis with NDepend
  • MongoDB doesn’t serialise C# read-only properties
  • Dynamically changing build numbers by branch in TeamCity
  • MongoDB backup script
  • Diagnosing issues with Elasticsearch

Tags

ANTLR ASP.NET MVC Build C# CI Disk Cleanup Elasticsearch Excel Extensions FxCop Git Gitolite Java JavaScript Magic Commands MongoDB NAnt PostgreSQL Powershell Proxy RavenDB registry Script Slack SQL TeamCity Transformers Visual Studio VS2010 Web Platform Installer Windows Windows Server

Archive

  • August 2018
  • May 2018
  • April 2018
  • September 2017
  • November 2016
  • September 2016
  • July 2013
  • May 2013
  • April 2013
  • January 2012
  • November 2011
  • September 2011
  • August 2011
  • July 2011
  • April 2011
  • March 2011
  • February 2011
© Copyright 2025 – TechBlog
Allium Theme by TemplateLens ⋅ Powered by WordPress