GitHub Administration
How to give access or create a account in GitHub
Steps:
- Login to the GitHub as Admin
- Look for site admin at left side
- Click on "Invite User"
- Give Username and Email id
Once User is created, An email will sent to the user, he can then access to the git hub.
How to add a new git hub member to the repository inside a organisation
Steps:
- Login to the GitHub as Admin
- Go to the Organisation and Repository inside the organisation
- Click on Settings tab
- Select the "Collaborators & Teams" tab at left side
- Look for the "teams" and click on the same.
How to check the Git hub user permissions for a repository inside an organisation
Steps:
- Login to the GitHub as Admin
- Go to the Organisation and Repository inside the organisation
- Click on Settings tab
- Select the "Collaborators & Teams" tab at left side
- Look for the "teams" and click on the same.
- Select any user
- Click on the "Manage access" with respect to the repository
- Check for Member Privilages
How to send a link for "reset password"
Steps:
- Login to the Git Hub Account as admin
- Find the user (For whom, you want to send reset password link)
- Click on Site Admin (Rocket Symbol)
- Click on the Emails Tab
- Look for the password reset and click on "Send password reset" button.
- You will find the link above the page, You can directly send the link to the user for password reset.
How to create a Personal access tokens
Steps:
- Login to the Git Hub Account
- Got to Settings which is at Right corner at User Side
- Click on Developer Settings at left side pane
- Click on Personal access tokens
- Click on "Generate new token" button
- Select all the related access
- Click Create Token
How to check whether the repository is Private Or Public
Steps:
- Login to the GitHub account as Admin
- Click on repository
- Click on Settings
- Look for Danger zone ( If repo is pubic, Then we will see the below message)
Make this repository private
Hide this repository from the public.
How to delete a branch in both from local and remote repo.
Steps:
- Login to the command line ( terminal)
- Run the below commands
For removing the branch from local repo
$ git branch -D <branch-name>
For removing the branch from remote repo
$ git push origin --delete <branch-name>
Clear instructions like these are a lifesaver for people new to repository management. I once deleted a branch locally but forgot to clean it up remotely—your commands would have spared me confusion. Curious if you’ll expand this guide to include audit logging and security checks in GitHub organizations?
ReplyDeleteThe reset password instructions are really helpful. I had a situation where a teammate lost access right before a release, and this kind of guide would have saved us a lot of panic. Do you also plan to include best practices for managing personal access tokens in your GitHub administration series?
ReplyDelete