All Questions
6 questions
2
votes
2
answers
1k
views
Automated git pull from local Gitlab repository using gitpython requires [email protected] password
We have a locally hosted Gitlab repository which I am trying to automate pushing and pulling with gitpython over ssh with the following script:
LOCAL_REPO_PATH = "/path/to/repository"
repo =...
5
votes
2
answers
6k
views
How to do a shallow clone using GitPython
I am trying to do a shallow/partial clone of a repository using GitPython.
Here is the git CLI command:
$ git clone -v --filter=tree:0 --filter=blob:none --sparse [email protected]:gitlab-org/gitlab-docs....
1
vote
1
answer
625
views
Only use gitlab light-weight tags also if there is a annotated tag - GitPython
Is there any possibillity to say that the light-weight tag will always be preferred?
My problem: I use the git tag to get the hash of the tag. With this hash I will add a file into my database. The ...
2
votes
1
answer
736
views
How can I read the projects list from a GitLab group with GitPython?
I am trying to find a way to clone all the git repositories from a remote GitLab group with Python (gitPython for example).
Can you help me, please?
1
vote
0
answers
251
views
Is it possible for me to import a bitbucket repo to gitlab using GitPython?
I currently have a bitbucket repo and am trying to import it to Gitlab using GitPython and I'm stuck as to how to do this. Is it possible and if so how would I go about doing this?
0
votes
0
answers
384
views
GitPython Via HTTPS
I am currently trying to push to Git via GitPython using HTTPS. I am able to do this successfully, but I am prompted to enter my username and password for every fetch, push, and pull operation.
I ...