Posts

Showing posts with the label GitHub

Git Commands

1.Download git for Mac https://sourceforge.net/projects/git-osx-installer/files/ or brew install git 2.For git version: git --version 3.Configure Git username and email: $ git config --global  user.name  <username> $ git config --global user.email <emailid> Define the author name to be used for all commits in the current repository. Typically, you’ll want to use the --global flag to set configuration options for the current user. 4.SourceTree, a free visual Git client for Mac, comes with its own bundled version of Git https://www.sourcetreeapp.com/ 5.Install Git on Mac OS X: https://www.atlassian.com/git/tutorials/install-git/mac-os-x 6. git init The git init command creates a new Git repository. It can be used to convert an existing, unversioned project to a Git repository or initialize a new empty repository. cd into your project folder and run git init, and you’ll have a fully functional Git repository. However, git init only needs to be executed...

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 a...