python - gitpython list all repositories -


folks, keep having trouble finding documentation on how list git repositories organization using gitpython.
grab list of current repositories have in bitbucket/github, fail find in docs. i've found pygithub3 example, nothing gitpython. since need access bitbucket repos well, pygithub3 wont work in case.

gitpython library manipulating version-control software git , has little online services github or bitbucket. in order interface either of those, need use libraries pygithub3 , python-bitbucket both offer different apis retrieving organizations, let alone repositories themselves. gitpython come in handy should want clone , manipulate fork of repository 1 of these online services.

your hypothetical workflow might this:

  1. retrieve repositories of github-hosted organization xyz-corp using pygithub3, or alternatively, repositories of bitbucket-hosted organization uvw-corp using python-bitbucket
  2. clone repositories locally using gitpython
  3. manipulate files
  4. commit , push changes remote, github-or-bitbucket-hosted repository using gitpython

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -