Skip to content

Instantly share code, notes, and snippets.

@infynyxx
Created September 26, 2014 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infynyxx/c55278561388dc4c7663 to your computer and use it in GitHub Desktop.
Save infynyxx/c55278561388dc4c7663 to your computer and use it in GitHub Desktop.
Git mirror
[core]
repositoryformatversion = 0
filemode = true
bare = true
ignorecase = true
precomposeunicode = false
[remote "origin"]
fetch = +refs/*:refs/*
mirror = true
url = https://code.google.com/p/guava-libraries/
[remote "github"]
url = git@github.com:infynyxx/guava-libraries.git
fetch = +refs/heads/*:refs/remotes/github/*
#!/bin/sh
git fetch origin
git fetch github
git push github --mirror
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment