Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pull code from BitBucket with C# programmatically

I am writing C# web forms application that needs to pull code for concerned tag on bitbucket.

I have discovered SharpBucket as potential solution. But I am not sure how to pull actual code.

It seems that SharpBucket API offers only meta data about repositories. All the the properties in Intelli Sense on the picture are of type string.

enter image description here

If SharpBucket can not pull the code, please advise on other options.

like image 765
eomeroff Avatar asked Jun 30 '26 15:06

eomeroff


1 Answers

I use LibGit2Sharp to programmatically access git repositories. Note that you may need to use it in conjunction with SharpBucket if you still want BitBucket-specific functionality.

like image 166
David Deutsch Avatar answered Jul 02 '26 03:07

David Deutsch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!