Category Archives: Version Control

Notes on deploying a MongoDB-backed Express app to Heroku

Reference: Getting Started with Node.js on Heroku Preparing your application for deployment Use the configured port Reference: Gotchas for Node JS apps on Heroku Make sure it listens on the port defined in process.env.PORT. If it’s set to listen on … Continue reading

Posted in Node.js, Version Control | Leave a comment

Working with master and project branches in Git

Bringing project work into the main branch $ git checkout master $ git merge projectbranchfrommaster If there are merge conflicts, you will need to resolve them and commit the changes.     x     <- merge commit     |  \     x   o <- commit on main branch … Continue reading

Posted in Version Control | Leave a comment

Integrating Pivotal Tracker and GitHub

I’ve been a Pivotal Tracker user for some time now and I’ve recently moved my code to GitHub, so I was interested when I found John Metta’s article which talks about automatically updating the progress of PT stories using a … Continue reading

Posted in Version Control | Leave a comment

Converting an SVN Repository to Git

I’ve come to prefer working with git to working with SVN, so I set about converting one of my small projects. GitHub says ‘We highly recommend using the svn2git tool to convert an SVN repo to a git repo. …For … Continue reading

Posted in Version Control | Leave a comment

Github Glitch

I was not amused this afternoon when my attempt to push to GitHub for the first time from a new (well, old) machine was met with the message Failed to erase credential: Element not found fatal: Authentication failed A quick … Continue reading

Posted in Version Control | 3 Comments

Solutions for Git Workflow Problems

I want to rename a branch $ git branch -m <currentname> <newname> Source: dmo.ca blog I’ve forgotten which branch my branch was created from $ git log -g <branchname> or $ git reflog show <branchname> and look for the first … Continue reading

Posted in Version Control | Leave a comment