• Here are all articles tagged Git
  • Push to Multiple Git Repos

    Posted on December 22nd, 2012 | Tags: Git

    Here's a cool little trick I found out about the other day. Even though Git is a distributed revision control system, there are times when you need to push to two systems at once. In my case those systems are Github and Heroku. Here is a simple way to do it by modifying your .git/config file.

    [core]
            repositoryformatversion = 0
            filemode = true
            bare = false
            logallrefupdates = true
    [remote "heroku"]
            url = [email protected]:maxburstein.git
            fetch = +refs/heads/*:refs/remotes/heroku/*
    [remote "github"]
            url = [email protected]:mburst/burstolio.git …

    read more