Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That snippet overrides your remotes/origin branch with what you pull from bitbucket.

This might not be what you want. Instead you probably should do:

  fetch = +refs/heads/*:refs/remotes/bitbucket/*
Unless you really know what you're doing and are just crazy like that :)


I thought he thinks of a push and forget backup, so I didn't care. but yea, you're right.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: