Skip to content

{ Category Archives } version control

Pushing and Tracking Remote Branches with Git

I write at home and at work, so it is natural for me to use a remote repository to keep track of my work—even with Git. Distributed version control may not force this workflow on you the way subversion does, but the cool thing about Git is that it doesn’t force any particular workflow—it can […]

Post Commit Hooks

Commit hooks, scripts run when you commit to your repository, can be handy and are readily adaptable to a variety of workflows. Here is a quick and dirty post commit hook that I use for my dotfiles, remind files, and my todo list. These are kept in lightweight git repositories. Moreover, I want to push […]

Keeping your LaTeX Preamble in a Git Submodule

One of the much vaunted conceptual advantages of structural markup is the separation of form and content. In LaTeX, the preamble determines the the form of the document, how it is to be typeset, while the main body determines the content of the document and should contain only structural markup, markup that specifies the logical […]

BitBucket

BitBucket is providing mercurial hosting:

Bitbucket is a place for you and your team to host and follow your Mercurial projects. Mercurial is a so-called DVCS, or Distributed Version Control System, a new paradigm in version control, rapidly substituting the likes of Subversion and CVS. We have plans for several purposes, […]

Git Resource

Scott Chacon is maintaining this site, a useful compendium of git resources.

The Gist of LaTeX

GitHub has just launched Gist, a Git driven pastebin service. It is very handy to have a lightweight public (or private) repository. From the GitHub blog (see also here), Bryan Liles demos Gist:

BryanL demos Gist: A Super Hot Pastebin from Bryan Liles on […]

Cornerstone

Previewing at 1.0, Cornerstone, a GUI Subversion front end has been released.

Daring Fireball, as ever, with the wry commentary:

It strikes me as an odd coincidence that two serious Subversion clients would debut at a time when many developers are starting to switch away from Subversion to distributed revision control systems such as Git […]

Viva La Revolución

Kieran Healey has followed my lead and posted his sociology BibTeX files on GitHub. I could only be happier if someone forked me. C’mon, baby, fork me, fork me!

Update Kieran posts about it here.

Subversion 1.5

Subversion 1.5 is out. This is a major release that promised to address many of the problems with merging. New features include:

Merge tracking (foundational) Sparse checkouts (via new –depth option) Interactive conflict resolution Changelist support Relative URLs, peg revisions in svn:externals Cyrus SASL support for ra_svn and svnserve Improved support for large deployments on FSFS, via sharding Improved FSFS optimizability, via immutable […]

Gitting BibTeX

Academics tend to be pretty good at sharing resources. For example, most publish their research online. This is really helpful since it can take a year or two after submission to finally see its way into print.

One useful thing that academics share, though less often than their research, is their bibliographies. LaTeX is predominant in […]

Code Swarm

From Information Aesthetics, a link to code_swarm:

This visualization, called code_swarm, shows the history of commits in a software project. A commit happens when a developer makes changes to the code or documents and transfers them into the central project repository. Both developers and files are represented as moving elements. When a developer commits […]

Bash Prompt Redux

OK, so you know a meeting is boring when you would rather redo your bash prompt. (And, yes, as a consequence, I have come to appreciate the point of running a headless meeting.) I wanted my bash prompt to tell me a number of things:

Who am I? Where am I? Which branch of a Git repository am […]

Versions Not Vaporware After All

Check it out.

Will try to review it later. But one interesting feature is its integration with Beanstalk that provides one 20MB Subversion repository for free. Smart move for the casual user who might still be intimidated by the command line interface.

Migrating from Subversion to Git

Having decided to try out Git, I was excited to learn that Git could interface with Subversion repositories via git-svn. git-svn provides a bidirectional flow of changesets from a branch of a Subversion repository and any number of branches in a Git repository. The problem that I soon encountered should be evident from this description—you […]

Chacon Git Tech Talk

Scott Chacon, author of the very nice Peepcode title Git Internals, Source Code Control and Beyond, has given a Git Tech Talk at RailsConf 2008:

RailsConf 2008 Git Talk by Scot Chacon Video from daniel wanja on Vimeo.

The slides of his talk are also […]

Versions or Vaporware?

Versions, the GUI Mac subversion client is still vaporware, but there is a review of the prerelease beta at Theocacao. Though I am shifting over to Git, I am still curious how Versions will stack up against svnX.

Open in Git Gui

OpenInGitGui is an AppleScript droplet that allows you to open Git-Gui from the Finder. Install it in /Applications/Scripts (create the Scripts directory if it does not already exist), and drag the icon to the toolbar of your Finder. Select a folder containing your git repository and click the Git icon.

Sounds easy. It is. Though I […]

GitHub and TextMate

Are you a TextMate user and have a GitHub account? Then Dr Nic’s GitHub bundle may be for you. It requires the git ruby gem, so you need to install it first:

sudo gem install git

To install GitHub.bundle:

cd ~/”Library/Application Support/TextMate/Bundles/” git clone git://github.com/drnic/github-tmbundle.git “GitHub.tmbundle”

If TextMate is running, execute the following line:

osascript -e ‘tell app “TextMate” to reload […]

Git Scatter Graph for TextMate

Here is a command for TextMate’s Git bundle, that’s, well, kind of useless but makes me happy. The code comes from Chris on the GitHub IRC:

require ‘time’ lines = `git log –pretty=format:%ai` times = lines.map { |l| Time.parse l }

dots = [] 0.upto(7) { |wday| 0.upto(23) { |hour| dots « [hour, wday, times.find_all { […]

Git kicking it OS X style

Git allows you to visually inspect your commit history with Gitk. Which is great. But on OS X it looks a bit crap set against the polish of the OS and native apps.

If you are a Git-using geek still addicted to the Mac aesthetic, fear not! GitNub is for you…

GitNub is not as fully featured […]

FireStats icon Powered by FireStats