{"thread":{"id":"55105","subject":"git command was killed","startedAt":"2021-02-04T06:48:13Z","lastAt":"2021-02-05T06:57:14Z","messageCount":3,"participants":["LiuShiyang","Eric Sunshine"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"416138","messageId":"7CE44CBE-DF7B-42DD-AC0F-8125CB6A8403@icloud.com","threadId":"55105","inReplyTo":null,"subject":"git command was killed","fromName":"LiuShiyang","fromEmail":"wingsdream1943@icloud.com","sentAt":"2021-02-04T06:38:55Z","receivedAt":"2021-02-04T06:48:13Z","isPatch":false,"sender":{"key":"wingsdream1943@icloud.com","avatar":null},"body":"Hello, \n\nI’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.\n\nPlease advise how I can solve this issue. \n\n\nshiyangliu@ShiyangdeMacBook-Pro  ~  git --version\n[1]    40011 killed     git —version\n\nBrew config results: \n\n shiyangliu@ShiyangdeMacBook-Pro  ~  brew config\nHOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)\nORIGIN: (none)\nHEAD: (none)\nLast commit: never\nCore tap ORIGIN: (none)\nCore tap HEAD: (none)\nCore tap last commit: never\nCore tap branch: (none)\nHOMEBREW_PREFIX: /opt/homebrew\nHOMEBREW_CASK_OPTS: []\nHOMEBREW_MAKE_JOBS: 8\nHomebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby\nCPU: octa-core 64-bit arm_firestorm_icestorm\nclang: error: unable to find Xcode installation from active developer path \"/Library/Developer/CommandlineTools\", use xcode-select to change\nClang: N/A\nGit: N/A\nCurl: 7.64.1 => /usr/bin/curl\nJava: 15.0.2\nmacOS: 11.2-arm64\nCLT: 12.5.0.0.1.1611946261\nXcode: dunno => /Library/Developer/CommandlineTools\nRosetta 2: false\n\n\nShiyang"},{"id":"416240","messageId":"CAPig+cRyCW3CtANyp6YyAOA5hddSRMX-Ld1YdwN--FPjTrpNzQ@mail.gmail.com","threadId":"55105","inReplyTo":"7CE44CBE-DF7B-42DD-AC0F-8125CB6A8403@icloud.com","subject":"Re: git command was killed","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2021-02-05T06:07:15Z","receivedAt":"2021-02-05T06:08:27Z","isPatch":false,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Thu, Feb 4, 2021 at 1:48 AM LiuShiyang <wingsdream1943@icloud.com> wrote:\n> I’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.\n>\n>  shiyangliu@ShiyangdeMacBook-Pro  ~  brew config\n> CPU: octa-core 64-bit arm_firestorm_icestorm\n> macOS: 11.2-arm64\n> Rosetta 2: false\n\nThis problem may be specific to Homebrew's installation of Git.\nApparently, Homebrew wasn't originally able to build for Apple\n\"Silicon\" and the various supported \"formulas\" need to be upgraded\nmanually for \"Silicon\". This page [1] shows a (perhaps) outdated\nstatus of each package.\n\nSomewhere in [1] there is mention that you may be able to install a\npackage as x86_64 rather than as arm64 and then run it via Rosetta, so\nyou might want to try that (assuming Rosetta works for you). Or maybe\nyou already installed x86_64 and Rosetta is failing for you(?), in\nwhich case try the arm64 version. Otherwise, probably best would be to\nask at the Homebrew project.\n\n[1]: https://github.com/Homebrew/brew/issues/7857\n"},{"id":"416243","messageId":"4A51E27A-4126-416F-920B-F9FA3E5257AB@icloud.com","threadId":"55105","inReplyTo":"CAPig+cRyCW3CtANyp6YyAOA5hddSRMX-Ld1YdwN--FPjTrpNzQ@mail.gmail.com","subject":"Re: git command was killed","fromName":"LiuShiyang","fromEmail":"wingsdream1943@icloud.com","sentAt":"2021-02-05T06:55:53Z","receivedAt":"2021-02-05T06:57:14Z","isPatch":false,"sender":{"key":"wingsdream1943@icloud.com","avatar":null},"body":"Thanks Eric for the response. After I had git dependencies gettext and pcre2 reinstalled, git was reborn on my Macbook. Seems this was a common issue with 11.2 upgraded.\n\n\n> 2021年2月5日 下午2:07，Eric Sunshine <sunshine@sunshineco.com> 写道：\n> \n> On Thu, Feb 4, 2021 at 1:48 AM LiuShiyang <wingsdream1943@icloud.com> wrote:\n>> I’d like to get your support to solve below issue. When I upgraded my MacBook Pro (appple silicon ) , all git commands can not be run, and it shows ******killed. I have tried to reset Xcode-select, switch the path, or install again..no luck to resolve it.\n>> \n>> shiyangliu@ShiyangdeMacBook-Pro  ~  brew config\n>> CPU: octa-core 64-bit arm_firestorm_icestorm\n>> macOS: 11.2-arm64\n>> Rosetta 2: false\n> \n> This problem may be specific to Homebrew's installation of Git.\n> Apparently, Homebrew wasn't originally able to build for Apple\n> \"Silicon\" and the various supported \"formulas\" need to be upgraded\n> manually for \"Silicon\". This page [1] shows a (perhaps) outdated\n> status of each package.\n> \n> Somewhere in [1] there is mention that you may be able to install a\n> package as x86_64 rather than as arm64 and then run it via Rosetta, so\n> you might want to try that (assuming Rosetta works for you). Or maybe\n> you already installed x86_64 and Rosetta is failing for you(?), in\n> which case try the arm64 version. Otherwise, probably best would be to\n> ask at the Homebrew project.\n> \n> [1]: https://github.com/Homebrew/brew/issues/7857\n\n"}]}