Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Configure a fallback git committer for clones and fetches #122

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

notheotherben
Copy link
Member

This should resolve the following error when attempting to clone a repository on a system which lacks a globally configured Git user.name and user.email.

Oh no! Unable to fetch from remote git repository 'https://github.com/your/repo.git'

This was caused by:

  • Failed to update references to their new position to match their remote locations
  • The reflog could not be created or updated
  • reflog messages need a committer which isn't set

To try and fix this, you can:

  • Make sure that the repository is available and correctly configured.

@github-actions github-actions bot added the feature New feature or request label Dec 10, 2024
Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.27%. Comparing base (6dfa73e) to head (461b833).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
+ Coverage   70.03%   70.27%   +0.23%     
==========================================
  Files          24       24              
  Lines        2263     2281      +18     
==========================================
+ Hits         1585     1603      +18     
  Misses        678      678              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@notheotherben notheotherben merged commit a862635 into main Dec 10, 2024
17 checks passed
@notheotherben notheotherben deleted the feat/committer branch December 10, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant