Skip to main content

Questions tagged [git]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

can one upgrade the git client that come with xcode

I am looking at how to upgrade my git client that comes with xcode command line tools in the light of the recent vulnerability announcement.
Russell Fulton's user avatar
0 votes
0 answers
52 views

Installing Verilator on an Apple M3 Mac?

I have been trying to install Verilator on an Apple Silicon Mac for some time and keep facing issues. Homebrew allows normal installation but its behaviour during operation is rather weird. It can run ...
Random person's user avatar
0 votes
1 answer
79 views

I can't clone projects from my companys git from my new mac

2 days ago I replace my pc with a new mac and trying to set it up for my work, but I can't clone a project from my company's local repository. I don't know what to do at this point can u guys help ...
Mustafa Ayfer's user avatar
11 votes
3 answers
5k views

Is it dangerous to leave “.DS_Store” files left in Git commit history?

I forgot to add it to my .gitignore and although I've added .DS_Store to my .gitignore now, I was wondering if it was dangerous to leave for anyone to see in my Git commit history? I'm not asking if ....
chung's user avatar
  • 213
0 votes
0 answers
57 views

opendiff not getting launched after `git mergetool`

When I try to do a git mergetool (after getting a merge conflict), I get that the merge.tool is not configured..., and Hit return to start merge resolution tool (opendiff): After pressing return, I ...
Atom's user avatar
  • 133
1 vote
0 answers
604 views

Adding own certificate authority to macOS

I currently facing the problem that I created a certificate authority certificate and would like to add this custom CA to macOS. The general way would be to add it to the "System" area in my ...
user182351's user avatar
2 votes
1 answer
68 views

Change default app for all .gitignore files

I have a bunch of .gitignore files, spread across multiple folders. I want to change the default app for all current and future .gitignore files. I tried to do this via Get Info -> Open with -> ...
James's user avatar
  • 121
2 votes
1 answer
1k views

`git commit` is stuck on macOS Ventura

Today I woke up and realised I cannot commit anymore... Strangely enough other git commands work fine. Whenever I create a new directory, git init . inside, touch a new, empty file inside, git add it, ...
maciek's user avatar
  • 141
0 votes
0 answers
237 views

Keychain loses Bitbucket app password every time

I create a new app password in Bitbucket when git push asks for the password, I paste it and use it. Then I see the bitbucket login entry in Keychain, the next day when I push again git asks for the ...
Alraj's user avatar
  • 101
1 vote
1 answer
614 views

Hpw can I fix auto complete with git after a macOS update?

My command line autocomplete isn't working with many third party binaries. This started with a macOS Ventura 13.5 dot update. I try to tab to operate a previously working autocomplete for git commands,...
thomas-peter's user avatar
1 vote
1 answer
57 views

Can not delete file on removable device

(This is on MacOS Monterey) When performing a backup using rsync --delete .... to a USB stick, I noticed that there was a file which rsync could not delete, with error message Operation not permitted. ...
user1934428's user avatar
0 votes
1 answer
22 views

Gihub on Mac using oath2

After a pause of 2 years from macOS I bought a new laptop to find this problem: I cannot pull/push to my repositories using a user/password. The new approach is through oath2. At this point, I am able ...
Rafael Zemog's user avatar
2 votes
1 answer
906 views

Brew can not find git

I managed to move brew and php from an M1 silicon to an Intel Mac. The php is broken due to different processors. And I would resolve that by installing a new php version with brew. This isn't about ...
user59971's user avatar
  • 265
5 votes
2 answers
2k 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, ...
Elliott's user avatar
  • 3,029
-2 votes
1 answer
83 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 ...
Bernd's user avatar
  • 177
0 votes
0 answers
42 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 ...
foss's user avatar
  • 469
1 vote
1 answer
493 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 ...
WarningSign's user avatar
1 vote
1 answer
364 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 ...
Mooze's user avatar
  • 21
2 votes
1 answer
5k 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 ...
Sybil's user avatar
  • 4,007
0 votes
2 answers
11k 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/...
Azzam Muhammad Naufal's user avatar
0 votes
1 answer
842 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 ...
Jiho Park's user avatar
3 votes
0 answers
1k 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 ...
Petr Tomášek's user avatar
2 votes
1 answer
1k 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 ...
P. Alves's user avatar
0 votes
1 answer
263 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 ...
Edward Falk's user avatar
  • 1,033
1 vote
1 answer
376 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 /...
grolfs's user avatar
  • 21
2 votes
0 answers
417 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 ...
Klas Mellbourn's user avatar
1 vote
1 answer
1k 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-...
Amaku's user avatar
  • 51
0 votes
1 answer
3k 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 ...
Amaku's user avatar
  • 51
1 vote
0 answers
356 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 ...
ShrewdSimian's user avatar
0 votes
1 answer
6k 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 ...
roger's user avatar
  • 13
2 votes
0 answers
74 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 ...
Patrick's user avatar
  • 1,351
0 votes
1 answer
3k 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 ...
Vladimir Fokow's user avatar
1 vote
1 answer
1k 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 ...
HenrijsS's user avatar
  • 125
3 votes
2 answers
10k 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 ...
Mehdi Faraji's user avatar
0 votes
3 answers
209 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 ...
Ejaz's user avatar
  • 103
1 vote
0 answers
45 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 ...
MichaelJones's user avatar
2 votes
1 answer
568 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/...
Ritz Ganguly's user avatar
9 votes
4 answers
32k 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 ...
Flux's user avatar
  • 233
2 votes
2 answers
5k 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 ...
Frank's user avatar
  • 117
3 votes
2 answers
21k 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 ...
Jonbri's user avatar
  • 33
0 votes
1 answer
292 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 ...
turbomattik's user avatar
1 vote
1 answer
137 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 ...
Whazzup's user avatar
  • 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 ...
frank cedar's user avatar
1 vote
1 answer
998 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 ...
danday74's user avatar
  • 261
1 vote
1 answer
535 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'...
Scottmeup's user avatar
  • 2,613
12 votes
1 answer
3k 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(...
Teddy C's user avatar
  • 1,792
0 votes
0 answers
1k 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 ...
Jamie Whalen's user avatar
1 vote
1 answer
933 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 ...
Michael Altfield's user avatar
1 vote
1 answer
413 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 ...
Felipe's user avatar
  • 31
0 votes
0 answers
226 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 ...
BeLikeSchmilli's user avatar

1
2 3 4 5