janoulle

.config for pushing same files to Bitbucket and Github

Nov 28th, 2012
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. [core]
  2. repositoryformatversion = 0
  3. filemode = true
  4. bare = false
  5. logallrefupdates = true
  6. [remote "origin"]
  7. url = ssh://[email protected]/janoulle/xx.git
  8. fetch = +refs/heads/*:refs/remotes/origin/*
  9. [branch "master"]
  10. remote = origin
  11. merge = refs/heads/master
  12. [remote "tp"]
  13. url = [email protected]:janoulle/xx.git
  14. fetch = +refs/heads/*:refs/remotes/tp/*
  15.  
  16. //git push defaults to bitbucket
  17. //git push tp goes to github
Advertisement
Add Comment
Please, Sign In to add comment