python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How can I get information from Git about metadata changes over a certain period of time using Git Python?
Need to pull information about metadata changes from the project in the git (there is a local copy), namely: The number of commits per file (code, metadata) for 2 weeks on a certain branch
on the fold...
Miekrif
Votes: 0
Answers: 1
Why latest commit date is not working in Github workflow?
This code is used to get the latest commit date of a GitHub file in a folder. This is working in my local machine but not working in Github action. In the Github action, it's giving the same date for ...
Mohammad Shakib
Votes: 0
Answers: 1
How to get time of last commit date for Git repository files via Python?
I'm trying to get the latest commit date for each file in a specific folder in a repo.
My code:
import git
import os
dir_path = os.path.dirname(os.path.realpath(__file__))
repo = git.Repo(dir_path)
...
Mohammad Shakib
Votes: 0
Answers: 0
GitPython Read a branch without it existing locally or cloning
I'm trying to read a branch from a Git repository without having a local copy or cloning the repo.
The GitPython API seems to assume a repo either exists locally or you with to clone it to read it.
Al...
intrigued_66
Votes: 0
Answers: 0