-1

I have imported my github repo in one of the project in my Azure devops. But when I push latest code to my github repo it doesn't reflect in Azure.

How can I achieve it?

Bharath Kashyap
  • 133
  • 1
  • 2
  • 9

1 Answers1

0

I am not sure how you've done the import, in general you can look at the commits from the Repos -> Commits Menu

enter image description here

Sajeetharan
  • 216,225
  • 63
  • 350
  • 396
  • I imported the github repo in azure from Repo>File in the menu – Bharath Kashyap Sep 30 '21 at 05:55
  • then you should see them – Sajeetharan Sep 30 '21 at 06:01
  • I see the project in my azure repo, the problem is when I make a code push to my github repo it doesn't reflect in azure – Bharath Kashyap Sep 30 '21 at 06:05
  • check if you have set the remote url correctly, otherwise clone the repo from azure devops and make changes and see – Sajeetharan Sep 30 '21 at 06:07
  • I'm new here, my agenda is to "See all latest code updates(push/commits) made in my github repo in the Azure devops" , so that it would be helpful to set the pipeline in azure. Can you please guide on it other than setting the pipeline – Bharath Kashyap Sep 30 '21 at 06:19
  • After you import the code to github, use the azure devops repo url and clone it on your local machine. Whatever changes you push it will be reflected there. On the pipelines there are enough resources available – Sajeetharan Sep 30 '21 at 06:34
  • I'm still trying to do that. My agenda is when I push my latest code to my git repo that should automatically reflect in the azure devops repo. Apologies its little confused since i'm new to this – Bharath Kashyap Oct 01 '21 at 09:29
  • Thats not possible – Sajeetharan Oct 01 '21 at 10:22
  • Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/237691/discussion-between-bharath-kashyap-and-sajeetharan). – Bharath Kashyap Oct 01 '21 at 10:23