Authenticate with a Git provider then pull from a remote repository, push local changes to a remote repository, and create pull requests for a remote repository.
Authenticate with GitHub or GHE
section below to connect Mage with your OAuth
application.http(s)://<your-mage-url>/oauth
.
Authenticate with GitHub or GHE
Register Mage in GitHub
Update environment variables
github.com
Authenticate with GitHub
Authenticate with BitBucket
Add Mage as an OAuth consumer
Update environment variables
Authenticate Mage with Bitbucket
Authenticate with GitLab
read_user
, write_repository
, and api
scopes from GitLab in order
to perform the necessary git actions.Add Mage Oauth application
Update environment variables
https://gitlab.com
Authenticate Mage with GitLab
Authenticate with Azure DevOps
Enable Active Directory integration
Update environment variables
Authenticate Mage with Azure DevOps
https
version of the
GitHub repository (as opposed to the SSH
version).
For example, the remote URL for Mage is https://github.com/mage-ai/mage-ai.git
.
Note that a remote added via HTTPS/SSH authentication will not work— only a remote in the format above is accepted.
Once you fill in both input text fields, click the button labeled Create new remote.
magic.py
in a remote repository named project_romeo
then that file will be cloned here <your git directory>/magic.py
as opposed to <your git directory>/project_romeo/magic.py
.If you want to clone the content of a remote repository into a folder named after the remote repository, then change the Git init directory above to
<your git directory>/[remote repository name]