How Access GitHub with EZGIT
Info
If you are having trouble authenticating to your git repository, make sure to check out our Troubleshooting git problems guide
Prerequisites
Tenant Prerequisites
Your tenant admin/GitHub admins must connect EZGIT to GitHub Enterprise before users are able to login to Git using EZGIT.
Video Version
Usage
- Go to your favorite terminal, and enter:
ezgit
- The first time it will ask you to login with your Azure Active Directory Account
- You should get a “GitHub identity created successfully” message
- Start using your favorite Git Tool for committing your code!
Note
EZGIT Git certificates are short lived (based on your organizations settings might last between 1 and 72 hours). You will have to run this command each time the certificate is expired.
Sending a command through EZGIT
EZGIT offers the option of sending a command to your git solution to make it easier to use. Just add a -c and the command to your EZGIT git command. For Example if you want to pull you can do:
ezgit -c "pull"
EZGIT will talk care of using your existing certificate or getting a new one and then will call git pull in another window.