Articles → AZURE DEVOPS → Import github repository in azure devops

Import github repository in azure devops






Steps








Picture showing the Github connections menu for setting up the connection of Azure Devops and Github

Click to Enlarge





Picture showing the first screen when clicks on the Github connections menu

Click to Enlarge



Picture showing the authorize screen to access github when user clicks on Connect your GitHub account

Click to Enlarge



Picture showing the screen to enter the github password

Click to Enlarge



Picture showing the list of repository in the github account

Click to Enlarge



Picture showing the screen to authorize the azure boards to access Github repository

Click to Enlarge



Picture showing the connection set up between the github repository and Azure Boards

Click to Enlarge



Picture showing the import repository option for importing the repository files on the Azure Boards

Click to Enlarge



Picture showing the screen to import the github repository to the Azure Boards

Click to Enlarge



Picture showing the github repository imported in the Azure Boards

Click to Enlarge


Perform operations on your local machine






Picture showing the clone button for clonning the imported repository to the Azure Boards

Click to Enlarge



Picture showing the screen to clone the repository in the Azure Boards

Click to Enlarge







cd c:/temp/repo
git clone https://GSorg21@dev.azure.com/GSorg21/second/_git/myrepo.git


Picture showing the git bash screen for executing the git clone command

Click to Enlarge



Picture showing the files downloaded on the local machine after the git clone command is executed on the git bash

Click to Enlarge



Picture showing a new file added in the local folder

Click to Enlarge



cd myrepo
git add .
git commit -m “added a.txt”


Picture showing the git bash for executing the commit command

Click to Enlarge



git config --global http.proxy ProxyUrlOrIP.com:8080
git config --global --unset http.proxy


Picture showing executing the git config --global http.proxy ProxyUrlOrIP.com:8080 command in git bash

Click to Enlarge



git push 


Picture showing the execution of git push command

Click to Enlarge



Picture showing the list of commits in the Azure Boards

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Tuesday, May 4, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250