Path: blob/master/GitHub/GitHub_Get_commits_history_from_file_path.ipynb
2973 views
Kernel: Python 3
GitHub - List commits history from file path
Tags: #github #commits #history #snippet #operations #tracking
Author: Florent Ravenel
Last update: 2023-07-03 (Created: 2023-07-03)
Description: This notebook demonstrateshow to retrieve a list of commits containing a file path that exists in master branch.
References:
Input
Import libraries
In [14]:
Setup Variables
owner
: The account owner of the repository. The name is not case sensitive.repository
: The name of the repository without the .git extension. The name is not case sensitive.file_path
: Only commits containing this file path will be returned.
In [15]:
Model
List commits history from file path
In [32]:
Output
Display results
In [34]: