Git is an amazing version control system that never loses anything, but sometimes it can be hard to find out where things are. Most of the time it is going to be git log that is our friend, but not all the time. Where is my file? Sometimes you know that you have a file [...]
Finding with Git
January 25th, 2012 by Anders Janmyr — Tips & Tricks
Tags: git
Deploying a Clojure web app on Heroku
June 13th, 2011 by Ulrik Sandberg — Cloud, Dynamic languages, Java
Heroku is a cloud application platform for Ruby/Rails and Node.js. However, the Cedar stack on Heroku makes it possible to deploy other types of applications. In this blog entry, I will first describe how to write a simple Clojure web app using the Ring library and the build tool Leiningen. Then I will show how to deploy this Clojure web app on Heroku, using nothing but Git. I will make a change and see how to deploy that. I will also show how to easily roll back to a previous release.
Tags: clojure, Cloud, Deployment, git, heroku, Java
Using Git with Subversion
September 2nd, 2010 by Anders Janmyr — Tips & Tricks
I had the unfortunate experience of having to use Subversion again after using Git for a long time. It is amazing how fast I can forget. After renaming a directory at the prompt, and the agony that goes with it, I decided to switch back to Git. $ mv requester sampler # svn agony after [...]
Tags: git, subversion
Under the Hood of ‘git clone’
November 24th, 2009 by Anders Janmyr — Tips & Tricks
When you clone a git repository, everything is automatically setup to allow you to fetch, pull, push to and from the remote repository, origin. But what is really going on? git remote is configured with a few lines of configuration in the config file inside the .git/ directory. Here’s how it works: Create a new [...]
Tags: frameworks, git, tools, version controlling
Maven automatic build versioning and Git against Subversion
June 4th, 2009 by Erik Ogenvik — Tips & Tricks
If you use Git locally against a Subversion repository you might run into problems if your project is set up to generate automatic build numbers through the buildnumber-maven-plugin, since the plugin might be setup to get the build numbers from Subversion. Through some use of additional profiles you can work around this.
Tags: git, maven, programming, subversion, tools, version controlling
