Questions tagged [git]

popular version control and how it gets used on OS X and iOS

Filter by
Sorted by
Tagged with
2 votes
0 answers
48 views

zsh: bus error with git on SMB volume

I regularly work with git on an SMB mounted share on my MacBook. Recently I get this error every time I try to run certain git commands: zsh: bus error git status. The same error happens with log, ...
  • 2,781
-2 votes
1 answer
67 views

Issue with an installed public Github package: how and where can I raise my point? [closed]

Recently, I habe some issues with a (public) software package available on Github which I would like to communicate to the developer such that others can follow the discussion. How and where is the ...
  • 167
0 votes
0 answers
21 views

How to include .git folders or files from .git folders in spotlight index?

There is a very old question about excluding .git folders form Spotlight index. Apparently macOS today by default excludes content of .git folders, since on macOS Ventura, files residing in .git ...
  • 459
0 votes
0 answers
87 views

SSH key not being added to ssh-agent automatically

OS version is Ventura 13.2 I generated an SSH key to authenticate git operations with GitHub according to their guide. Followed the steps: ssh-keygen -t ed25519 -C "my identifier" (Without ...
0 votes
1 answer
56 views

Using multiple github accounts with ssh keys, works only first try on each account

Following different pages I ended up with a ~/.ssh/config looking like this: Host github-personal HostName github.com IdentityFile ~/.ssh/one_key Host github.com HostName github.com ...
  • 1
0 votes
1 answer
91 views

What exactly are "git pack objects"? Why are they so huge in the "homebrew-core" repo? We are talking about half a GB of metadata

I am a Homebrew user and have noticed very large files. It seems to have something to do with git, I searched with Brave Search for "Git pack format" but didn't understand exactly why they ...
  • 3,603
0 votes
0 answers
1k views

fatal: unable to access ... Recv failure: Connection reset by peer

i run this in terminal git clone https://gitlab.com/azzammuhammadnaufal/nyoba.git and out this Cloning into 'nyoba'... but, i get this message fatal: unable to access 'https://gitlab.com/...
0 votes
1 answer
156 views

npm and git is very slow in some folders

In most places inside my home directory, npm install and git clone runs very slow, but not in ~/Library. npm install takes tens of minutes in reify stage. While git does not take that long, it takes ...
2 votes
0 answers
266 views

How to configure Xcode's SSH client?

We've enabled SSH certificates for all repositories in our private GitHub organization recently. To use certificates, I've added CertificateFile keyword to the SSH configuration file in my home ...
1 vote
1 answer
341 views

SSH Authentication stopped working

Following the macOS update (to Monterey 12.6.1) my ssh authentication stopped working. I was getting a "Repository not found. Please make sure you have the correct access rights." I have ...
0 votes
1 answer
55 views

Where did /usr/local/git come from?

Because /usr/local/bin is ahead of /usr/bin in my path, I'm picking up the wrong version of git, and XCode is very unhappy. Instead of manually blowing away /usr/local/git, I'd like to uninstall it ...
0 votes
0 answers
26 views

MacBook keeps asking to install the Xcode command line tools for Git [duplicate]

I wonder why my MacBook keeps asking, for Git, to install the Xcode command line developer tools even though I installed it earlier. It is stuck in the loop.
1 vote
1 answer
170 views

git dlopen libykcs11.dylib not found macOS 12.5 arm64

I have a new M1 MacBook Pro (Monterey 12.5) and installed Homebrew and the CLI Developer tools (13.4). Anytime I use ssh to communicate with a git remote repository, I receive the following: dlopen /...
  • 21
0 votes
0 answers
23 views

git review fails in a repo with submodules under git version 2.30.1 (Apple Git-130)

I have a repo with several submodules. Here is the git state before I try to execute git review and send my changes to the gerrit server: ▶ git status On branch 12345_defect_name Changes not staged ...
  • 115
2 votes
0 answers
277 views

pinentry-mac fails to store password in Keychain

I'm using gpg to sign my git commits. I'm using pinentry-mac to store the password in the Keychain. This works fine on most macs. But I have one mac mini on which I get prompted again for the password ...
1 vote
1 answer
899 views

Installing Homebrew fails with "The unauthenticated git protocol on port 9418 is no longer supported"

I am trying to install homebrew to my mac with /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" but, I keep getting this amaku@Davids-MacBook-...
  • 51
0 votes
0 answers
2k views

Unable to Install Homebrew; Failed during: git fetch --force origin

I'm having an installation problem with Homebrew; it involves git I ran the command from my terminal, M1pro, with git installed. I tried to do use port but I was unable to install it I tried to do git ...
  • 51
1 vote
0 answers
173 views

Chrome or Mac OS automatically deletes github diffs on download

I've been trying to save a simple GitHub PR diff to my downloads folder. The moment it saves, I can't open it because it vanishes and Chrome shows "removed" on the download. What could be ...
0 votes
1 answer
4k views

I have installed git from homebrew, and instead of installing it in /usr/local/bin it's in /opt/homebrew/bin/git, how can I move it?

I've changed my $PATH variable to /usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/bin:/bin:/usr/sbin:/sbin (previously /usr/local/bin ...
  • 13
2 votes
0 answers
39 views

.git folder gets locked

I'm on a M1 Mac mini. Randomly during the day, I can't commit my work because git is unable to create the .git/index.lock file. In the Finder info the folder shows up as "Locked". I unlocked ...
  • 1,341
0 votes
1 answer
2k views

Problems with Homebrew - `brew upgrade` and `brew install git` result in errors

I am a novice homebrew user (on a mac), so please forgive my incompetence. I ran into some problems while exploring the basic functionality. After executing the command brew outdated and getting the ...
1 vote
1 answer
483 views

Switching from Windows shows all files in git as modified

I don't know if I should write here or StackOverflow, but I recently switched from Windows to MacOS and plugged in the eHDD which had my website projects on there. I forgot to push the updated code to ...
  • 123
2 votes
1 answer
5k views

How can I delete a keychain password for github and vscode?

The way of deleting keychain access codes is to open the keychain access control and right click on the code and delete which worked before . But Now It doesn't and when I press delete nothing ...
0 votes
3 answers
137 views

inifinitely regressing "ls" drive under "Volumes"

First of all, I am aware the "ls" command means list all items in a directory. Yesterday an icon appeared on my desktop with a picture of a drive labeled "ls". Looking in the ...
  • 103
1 vote
0 answers
36 views

How to fix gitk not refreshing properly on Big Sur?

I have recently updated to Big Sur and now my favourite git graph viewer, gitk, isn't refreshing or re-drawing well on load or after certain interactions. Gitk is written in tcl and seems to run using ...
2 votes
1 answer
423 views

Homebrew installed git not working [closed]

I installed git with Homebrew and /usr/local/Cellar/git/2.31.1/bin is supposed to be the directory where the git executable is installed. BUT none of the commands are working: rgdgr8$ /usr/local/...
7 votes
3 answers
23k views

How much disk space do the "command line developer tools" take up?

When I run git --version in the Terminal, I get prompted to install the "command line developer tools": What exactly do I get from these "command line developer tools", and how ...
  • 213
2 votes
2 answers
4k views

zsh: killed git on Mac

Hi~ I am just using a Mac with M1 chip. I just found when I tried to run git clone ... I got zsh: killed git What should I do? I have tried to reinstall git via brew. but it doesn't work. git ...
  • 117
3 votes
2 answers
19k views

Unable to install git using homebrew

I am trying to install git using homebrew: brew install git Terminal reads: ==> Searching for similarly named formulae... Error: No similarly named formulae found. Error: No available formula or ...
  • 33
0 votes
1 answer
159 views

Git user.name continuously removed/reset

At least once a day it seems that my Git global configuration value for user.name gets reset to a blank value. Of course I only find out when I go to commit and it barks at me. I've tried removing and ...
1 vote
1 answer
99 views

Apple Automator (or similar): performing workflow triggered by shutdown?

I was thinking about turning my desktop into a git repository that automatically syncs with BitBucket. The idea is that, periodically, the desktop is synced as well as automatically before it shuts ...
  • 11
16 votes
3 answers
15k views

AMSupportURL* "is implemented in both"?

I get the below error message when I run git for the first time after a reboot: objc[728]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eff3a7a0) and ?? (0x1188402b8). One of the ...
1 vote
1 answer
535 views

How do I install p4v (previously p4merge) as my git difftool on macos catalina 10.15.3

Ive found these instructions for setting up p4merge as my git difftool (I've not been able to test these instructions): brew cask install p4merge git config --global diff.guitool p4mergetool git ...
  • 261
1 vote
1 answer
326 views

"__git_ps1: command not found" from running "/usr/bin/env bash"

When I run $ /usr/bin/env bash (but not otherwise) I get the error: __git_ps1: command not found I've tried updating ~/.git-prompt.sh and ~/git-completion.bash for the version of git that I'm using. I'...
  • 2,495
6 votes
1 answer
2k views

Homebrew - How to upgrade a HEAD forumla?

I installed libimobiledevice a few months ago with brew install --HEAD libimobiledevice, and tried to upgrade it today with brew upgrade libimobiledevice (no --HEAD because it's not an option for brew(...
  • 1,464
0 votes
0 answers
861 views

MacOS xcrun not downloading in Command Line Tools and existing solutions not working

See other Xcrun issues for full details. Basically git isn't working because xcrun doesn't exist in my file path Library/Developer/CommandLineTools/usr/bin/xcrun. I've tried: xcode-select --install ...
1 vote
1 answer
447 views

How to find source formula of brew package (github repo)?

How can I find the sources and changes for a given brew package? I'm having an issue with a package that's installed via brew on a cloud instance whose image I don't control. I'm trying to figure out ...
1 vote
1 answer
334 views

How to get p4merge to come up when I do git mergetool?

I did setup p4merge using this in my .gitconfig: [merge] tool = p4mergetool stat = true [mergetool "p4mergetool"] cmd = /Applications/p4merge.app/Contents/Resources/launchp4merge ...
  • 31
0 votes
0 answers
178 views

I have a problem to install the SETOOLKIT ON mac

I need your help. I want to install the setoolkit on my mac, and i found this instuction on internet: https://www.cybrary.it/blog/0p3n/social-engineering-toolkit-os-x/ I followed all of these steps ...
0 votes
1 answer
105 views

Kryptonite iOS automate enter PIN

Kryptonite has the ability to read my PIN from my phone, but recently after I push to GitHub there is a prompt: Enter PIN for 'Kryptonite iOS': All I have to do is press enter, but this is an extra ...
1 vote
1 answer
563 views

Trouble setting Sublime Text as default editor for entering Git commit message [closed]

I am learning git command-line. I wish to set Sublime Text as the default editor for entering commit message, when I run the git commit command from Terminal. But when trying to do so, I am running ...
  • 11
0 votes
1 answer
168 views

Unexpected question 'enter PIN for "Kryptonite iOS"' while doing git pull after updating to MacOS Catalina 10.15.4

Most of my Bitbucket git repos can't be pushed/fetched after upgrading to MacOS 10.15.4. All git origins are SSH (not HTTPS). I get this question in terminal when doing git pull and other commands: ...
4 votes
2 answers
2k views

Git hangs with a ssh remote URI after 10.15.4 update

After updating to Catalina 10.15.4, git started hanging indefinitely when trying to push or pull from a repo that was previously accessible. $ git push origin master ^C The URL for origin looks like:...
  • 531
2 votes
3 answers
2k views

How do you git fetch all repos in a folder?

I keep all the repositories I work on in a folder on my machine ~/Code, and I want a script to execute git fetch && git status against each of the repos in that folder. I imagine that, if it’...
  • 249
0 votes
3 answers
1k views

Files created by Terminal are not visible in my Finder

So I've been trying to create a text file using Git, I punched in the command "touch home.html", then I punched in the command git "add home.html", then I input "git status" and the file doesn't want ...
1 vote
1 answer
666 views

brew search generates mail notification "You recently used a password to access an endpoint through the GitHub API using Homebrew/2.2.2"

I got a mail from GitHub: You recently used a password to access an endpoint through the GitHub API using Homebrew/2.2.2 (Macintosh; Intel Mac OS X 10.15.2) curl/7.64.1. We will deprecate basic ...
  • 3,603
0 votes
1 answer
511 views

How to restore default Apple Version of Git after renaming it in Mac OS Mojave and linking git to homebrew version?

I wanted Mac OS to use my homebrew version of git after brew install git. So I mistakenly renamed my Apple Default git by doing: $mv /usr/bin/git /usr/bin/git~apple $ git --version git version 2.25.0 ...
  • 636
1 vote
1 answer
43 views

Git stored credentials work locally but don't have effect if logged into the machine via SSH

I have a remote macOS machine with git and GitHub Desktop installed, as well as my SSH public key. If I connect to the machine via Screen Sharing, open a shell window and try e.g. git pull in my ...
  • 492
4 votes
0 answers
101 views

How do I store an automator action in version control (git)?

I just created an Automator 'application' action and it works fine but I want to have version control of it. Automator creates a bundle that seems to be a bunch of XML and resources which is a pretty ...
7 votes
2 answers
22k views

How to install Git Extension on MacOS?

I need to install GitExtension on MacOS, but I can't find any info about this. I found this link https://sourceforge.net/projects/gitextensions/ after download I get compressed folder there is ...
  • 856