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

I'm always doing

  git push origin develop
for this reason, but some environments probably don't allow you to do this easily? I work alone. (EDIT: be nice to people)


We typically work in personal feature branches before merging into develop; if you use a similar workflow there shouldn't be much issue at all from pushing constantly.


Can you protect from other folks pulling it? Sometimes people just don't want to reveal their code while is ugly...


Gitolite[1] will let you mark branches as private on the remote either by specific branch name or a regex (ex: any branch that starts with "swah-" is private to you) if you want privacy before revealing your code.

[1] http://sitaramc.github.com/gitolite/




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

Search: