Allow process-specific Git config with "-c" arguments.
See original GitHub issueSee microsoft/Git-Credential-Manager-Core#190 for some context.
To solve the problem, we could allow users to specify config the way they could with Git, using scalar [-c config=value] <verb>
and having those arguments pass down into all Git commands. The distance between those two steps is a bit tricky, but perhaps there is a way to do it simply.
The other option would be to do one-off options like scalar clone <url> --access-token "***"
for this specific credential issue.
At minimum, the root problem that needs to be solved is: allow a user to specify custom credentials during scalar clone
.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (8 by maintainers)
Top Results From Across the Web
Git - git-config Documentation
git -config - Get and set repository or global options ... provide additional configuration parameters when running any git command by using the...
Read more >git config | Atlassian Git Tutorial
The git config command can accept arguments to specify which configuration level to operate on. The following configuration levels are available: --local.
Read more >8.1 Customizing Git - Git Configuration
First, a quick review: Git uses a series of configuration files to determine non-default behavior that you may want. The first place Git...
Read more >Git - git-config Documentation
gitconfig is used to store a per-user configuration as fallback values for the .git/config file. The file /etc/gitconfig can be used to store...
Read more >git config – How to Configure Git Settings to Improve Your ...
git config is a powerful command in Git. You can use the Git configuration file to customize how Git works.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You should use
store
if that works for you.This is not the first time this idea has come up. It’s just actually non-trivial (due to how our code is organized AND a bug in the command-line parser library we use). That’s why this issue will not be fast-tracked into the release this week.
Labeling this issue as stale. There has been no activity for 30 days. Remove stale label or comment or this issue will be closed in 7 days.