Const
Query to fetch repository commit history
Returns commit data including:
Query Parameters:
const { data } = useQuery(GET_REPO_COMMITS, { variables: { owner: "facebook", name: "react" }}); Copy
const { data } = useQuery(GET_REPO_COMMITS, { variables: { owner: "facebook", name: "react" }});
Query to fetch repository commit history
Returns commit data including:
Query Parameters: