top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How to uninstall Git on a Mac?

0 votes

How to uninstall properly Git on a Mac? Unfortunately, it seems to not be documented?

posted Jun 5, 2014 by Deepankar Dubey

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+3 votes

Is there a particular reason or is it that it's just not bothered being built that often that new versions of Git is released?

How can I build new versions of Git myself?

+1 vote

How to configure a read-only copy of a remote Git repository on a local server in bare mode and automatically synchronize its contents.

I need to configure a mirror of the repository hosted at another location and the mirrored repository should automatically perform syncing of code at regular intervals.

+2 votes

For many years, I used nothing but various flavours of linux (most recently, Linux Mint). I was so used to installing stuff using package managers (apt-get and yum). It was so easy, for example, to get the LAMP stack up and running.

I recently switched to a Mac, and I suddenly miss the familiar apt-get. Some packages come as .pkg, others as .dmg and lots without any package (for example, apache or php). For these, I have to use pseudo package managers such as Macports or Homebrew.

My question is: which is the best way to install various open-source packages on a Mac?

+1 vote

What it means to git when I try to commit on the local folder.for example "git commit ."
Is there any real use case for this?

+1 vote

At some point I added a large file into a git repository. It now exists on multiple branches, possibly with some changes to it. I'd like to remove it from git, but leave its current form (say the one on the master branch) on the file system.

I tried (on a dummy git archive)

git filter-branch --index-filter 'git rm --cached --ignore-unmatch bigfile' master branch1 branch2

That, however, does not leave a copy of bigfile on the file system.It isn't clear to me why not, though the description of the --tree-filteroption to filter-branch (I'm using the --index-filter option, but is is "similar") states:" (new files are auto-added, disappeared files are auto-removed ... )".
Is there a direct way to do what I want, with git? I've found similar requests;none of the responses point out that the above command actually deletes the file from the file system.

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.