jesseduffield / jesseduffield/lazygit

Add option to skip/ignore specified git remotes during operations

Open
#4,123 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
Permission errors constantly appear in logs when attempting operations on git remotes where access is restricted.

**Describe the solution you'd like**
Add ability to specify remotes to ignore/skip during git operations, preventing access attempts and error messages for those remotes.

**Describe alternatives you've considered**
Manually removing restricted remotes (not ideal as they're needed for reference)

**Additional context**
```
Git output:
Fetching origin
Permission denied (publickey,gssapi-with-mic, keyboard-interactive).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
error: could not fetch origin
Fetching backup
Permission denied (publickey,gssapi-with-mic,keyboard-interactive).
fatal: Could not read from remote repository.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.