Comments (6)
Yes! It was .gitconfig! Sorry mistyped when typing up the report!
from scalar.
This is probably GCM Core that's writing to your ~/.gitconfig, and not necessarily Scalar.
The scalar
and scalar-azrepos
Casks require installation as root because root is required to install the internal .pkg
file.
These Casks depend on GCM Core (git-credential-manager-core
), which is therefore also installed as root. GCM Core as a postinstall action calls git config --global ... ...
which, being run as root, will change the ownership of the ~/.gitconfig file.
We need a way to have these post install actions not run as root OR
change the GCM Core Cask to run gcm configure --system
which will update the git config --system
config file (/etc/gitconfig
).
cc: @derrickstolee
from scalar.
What specifically do you mean, your .gitignore
? Perhaps you instead mean your ~/.gitconfig
file? That would certainly be unfortunate, so we should look into that.
from scalar.
One specific thing about my setup - is that my ~/.gitconfig is a symlink to another location (target) - specifically within my Dropbox folder.
During installation, the target location became owned by root.
I ended up noticing, because Dropbox yelled about not having ownership to .gitconfig
from scalar.
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.
from scalar.
Closing in favor of git-ecosystem/git-credential-manager#186.
from scalar.
Related Issues (20)
- VS Code interacts poorly with Watchman-based fsmonitor, causing many Git commands running in background HOT 14
- scalar should remove added git setting when un-registering HOT 2
- Allow process-specific Git config with "-c" arguments. HOT 9
- Git version parser can't parse Apple-Git HOT 2
- Getting terminal prompts disabled error when cloning a new repo HOT 9
- Actions: set-env is disabled, breaking Actions workflows HOT 2
- `brew upgrade` failed HOT 5
- Scalar should use Git's background maintenance (drop Scalar.Service from Windows) HOT 4
- Scalar and git workspaces HOT 4
- Linux: How are the background task started/managed? HOT 11
- watchman doesn't show any root being watch, how do I get scalar to detect/use watchman on linux? HOT 4
- Update Readme with current Linux packages HOT 1
- Stale error message referencing GVFS in Scalar clone HOT 4
- Options disabled in "git gui" HOT 9
- Fork.dev integration broken by upgrade to 2.36 HOT 4
- naoyuki
- Support tab-completion in common shells HOT 1
- Replace deprecated `set-output` command with environment file
- Line 3367: Could not reconfigure Scalar enlistments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalar.