Comments (5)
Heya,
WinGet actually checks if git is already installed, this even works in cases where WinGet was not used to install it. I just confirmed this behaviour on my windows 10 system that had git manually installed.
Have you run into issues with this?
from win11debloat.
My git was installed by scoop: scoop install git
. Winget did not detect it, and started to download:
C:\Users\lxl>where git
D:\scoop\shims\git.exe
C:\Users\lxl>git -v
git version 2.45.1.windows.1
C:\Users\lxl>winget -v
v1.7.11261
C:\Users\lxl>winget install git.git --accept-package-agreements --accept-source-agreements --disable-interactivity --no-upgrade
Found Git [Git.Git] Version 2.45.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/git-for-windows/git/releases/download/v2.45.1.windows.1/Git-2.45.1-64-bit.exe
█▊ 4.00 MB / 64.7 MB
Cancelled
Terminate batch job (Y/N)? Y
- Additional info: OS Version: windows 11 23H2 22631.3447
I tried on another PC that installed git by official installer, and winget does detect it. The difference may be that the installer writes package information to the Windows registry, but Scoop does not?
from win11debloat.
Ooh interesting.
I'm guessing this is due to the fact that scoop installs apps in an unusual way, keeping them isolated in a scoop folder.
Seems like we'll need to manually check if git is installed after all! Thanks for bringing this to my attention 😃
from win11debloat.
@lxl66566 This issue should now be resolved as of 9401de8. Could you please confirm on your end that it's now detecting git correctly?
from win11debloat.
Yes, now it works well. Thank you!
from win11debloat.
Related Issues (20)
- Pressing the `ctrl` key causes the terminal to close HOT 1
- Restore Copilot and Bing HOT 2
- Calendar breaks - Which app removal does it? HOT 9
- valid for Windows 11 23H2 ? HOT 4
- Disable-Interactivity failing on Win11 23H2 HOT 4
- Disable Web Search in Start Menu HOT 2
- can't uninstall edge on 23h2 HOT 1
- feature request: launch debloat script with one liner HOT 11
- Recalling saved options on next run does not remove pinned apps HOT 3
- Pinned apps issues HOT 3
- Feature Request: DisableAIDataAnalysis (Disable Recall) HOT 6
- ms-gamingoverlay link prompt HOT 1
- Delete windows recall? HOT 1
- How to confirm that telemetry is disabled HOT 3
- Explorer.exe not reopening HOT 9
- ‘Some settings are managed by your organization’ Message Appearing in Taskbar Settings HOT 5
- Spotify, Linkedin were not uninstalled (default mode) HOT 2
- "Disable & remove bing search & cortana in Windows search" breaks all forms of search HOT 3
- only works on admin user account and not second account HOT 8
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 win11debloat.