3 ms·
Christopher Orr on the list suggested the following, which makes a great deal of sense to me: One thing I sometimes do for repos where I have commit access, bu
by jessaustin 13y ago
Christopher Orr on the list suggested the following, which makes a great deal of sense to me:
One thing I sometimes do for repos where I have commit access, but don't want to push, is to clone the repository via HTTP. That way, any accidental attempts at pushing won't use my ssh key, and so GitHub will prompt me for my password.
- encoderer 13y agoYou can also just override the push URL for any remote, then have a separate remote for pushes. So you'd have like "origin" for pulls only, and "pushorigin" for pushes.