Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a GitHub organization commit code to a repository?

I'm trying to understand, what an "organization" on GitHub actually is -- an independent account with all capabilities of a user account and additionally some specials or just a "repos container", that need a separate user account for user specific activities. So my question is:

Is it possible to push code to GitHub as organization (using the organization's login) or does an organization always need a personal account to get code into an organization's repository using personal account login?

like image 764
automatix Avatar asked Mar 02 '16 11:03

automatix


People also ask

Who can commit to a GitHub repository?

By default only the owner of the repository has write access. If you can push to your own repo, it's because you are using one of the supported authentification methods (HTTPS, SSH, ...). If you want to grant someone else privileges to push to your repo, you would need to configure that access in the project settings.


1 Answers

An organization is only a group of user (contributors) that contribute to one or more projects.

You always commit/push code as a single user, never as an organization (or group) unless everyone share same contributor account (why you would ever do such thing?): that way, no matter who commit/push, for github is the same user (always a user, never an organization).

Moreover remember that commit/push are git concept whereas organizations are github one

like image 140
DonCallisto Avatar answered Sep 21 '22 02:09

DonCallisto