Update Git Mac Catalina

That git svn rebase update my repository. Step-by-step reproduction instructions (by running brew install commands) Installed Git and SVN on Catalina 10.15.3. Brew install svn brew install git git svn works fine. Upgraded my system from Catalina 10.15.3 to Catalina 10.15.4 and git svn no longer works. Reinstall git and svn don't solved the problem.

  • ( If that does not work, you probably have to update/remove-reinstall a Xcode at all - now that I am writing, I remember I struggled a bit more few months ago with the old mac at work) After that Git will work. But now every time you try to git push/pull you are requested the passphrase for key. Pretty annoying.
  • Update applications. MacOS Catalina performance may get worse if applications on your Mac are out of date. Developers update applications regularly for all sorts of reasons. Most updates include bug fixes and performance improvements, so it’s important to keep them up to date. For apps that you download from the App Store, it’s easy.

Last Updated: 6/18/2021

I have to set up a MacBook Pro fairly often - when starting a new job and when buying a new personal computer. I created this article back in 2015 when I got my first Mac and have been updating it ever since with whatever I need as my job evolves. I'm primarily a full-stack web developer, so most of my needs will revolve around JavaScript/Node.js.

Getting Started

The setup assistant will launch once you turn the computer on. Enter your language, time zone, Apple ID, and so on. The first thing you should do is update macOS to get the latest security updates and patches.

Homebrew

Install the Homebrew package manager. This will allow you to install almost any app from the command line.

Make sure everything is up to date.

Install Apps

Here are some the programs I always install.

Don't install Node.js through Homebrew. Use nvm (below).

ProgramPurpose
Visual Studio Codetext editor
Google Chromeweb browser
Firefoxweb browser
Rectanglewindow resizing
iTerm2terminal
Dockerdevelopment
Slackcommunication
Spotifymusic
Postgresdatabase
Posticodatabase UI
PostmanAPI tool

Shell

How To Install Git On Macos Catalina

Catalina comes with zsh as the default shell. Install Oh My Zsh for sensible defaults.

Node.js

Use Node Version Manager (nvm) to install Node.js. This allows you to easily switch between Node versions, which is essential.

Install

Install the latest version.

Restart terminal and run the final command.

Confirm that you are using the latest version of Node and npm.

Update

For later, here's how to update nvm.

Change version

Here's how to switch to another version and use it.

And to set the default:

Git

The first thing you should do with Git is set your global configuration.

Input your config and create some aliases.

With the above aliases, I can run git s instead of git status, for example. The less I have to type, the happier I am.

SSH

Simplify the process of SSHing into other boxes. Create an SSH config file.

Add the following contents, changing the variables for any hosts that you connect to. Using the below will be the same as running ssh -i ~/.ssh/key.pem user@example.com.

.ssh/config

Now just run the alias to connect.

Generate SSH key

You can generate an SSH key to distribute.

Add key.

Settings

I don't like a lot of the Apple defaults so here are the things I always change.

To get the Home folder in the finder, press CMD + SHIFT + H and drag the home folder to the sidebar.

General

  • Set Dark mode
  • Make Google Chrome default browser

Dock

  • Automatically hide and show Dock
  • Show indicators for open applications

Keyboard

  • Key Repeat -> Fast
  • Delay Until Repeat -> Short
  • Disable 'Correct spelling automatically'
  • Disable 'Capitalize words automatically'
  • Disable 'Add period with double-space'
  • Disable 'Use smart quotes and dashes'

Security and Privacy

Catalina
  • Allow apps downloaded from App Store and identified developers
  • Turn FileVault On (makes sure SSD is securely encrypted)
  • Turn Firewall On (extra security measure)

Sharing

  • Change computer name
  • Make sure all file sharing is disabled

Users & Groups

Catalina
  • Add 'Rectangle' to Login items

Defaults

A few more commands to change some defaults.

Application Settings

What

Chrome

  • Install uBlock Origin
  • Install React DevTools
  • Install Redux DevTools
  • Install JSONView
  • Install Duplicate Tab Shortcut
  • Settings -> Set theme to 'Dark'

Visual Studio Code

  • Press CMD + SHIFT + P and click 'Install code command in PATH'.
  • Install New Moon Theme
  • Install GitLens
  • Install Highlight Matching Tag
  • Install ESLint
  • Install Prettier
  • Install Jest
  • Install Jest Runner
  • Keyboard Shortcuts

    • Copy Line Down - CMD + SHIFT + E
    • Delete Line - CMD + SHIFT + D
    • Format Document - CMD + SHIFT + L
    • Make sure 'selectNextSuggestion' and 'selectPrevSuggestion' are not set to up and down arrows, to allow ease of navigating files

Rectangle

  • Full Screen: CMD + SHIFT + ' (prevents messing with other commands)
  • Left Half: CMD + OPTION + LEFT
  • Right Half: CMD + OPTION + RIGHT

iTerm2

  • Set tab to open in same location

Conclusion

Mac

Update Git Mac Catalina 2020

That sums it up for my current preferences on setting up a MacBook Pro. I hope it helped speed up your process or gave you ideas for the next time you're setting one up.

Be it your comfort zone or tech limitations, there are many users who are still working on the macOS Catalina. Since every update brings new updates like bug fixes, system customizations, & personalizations, the macOS version 11 (macOS Big Sur) is worth exploring. From various color combinations to simplest user interface, everything is exciting with the macOS Big Sur.

How To Update Git On Mac

Just like the iOS14 update that has brought many transforming updates including App Clips, PIP mode, & screen widgets. Same way, while accessing the macOS Big Sur, you will know how many useful features you are missing while unable to use the same. So in case you are still working on the macOS Catalina, check out the ways to upgrade to Big Sur as well as update macOS Catalina.

Update

Is Your Mac Compatible With macOS Big Sur Update?

Since the macOS Big Sur update has been released for quite some time now, users are going gaga over it. However, please know that upgrading to Big Sur isn’t available for everyone of those users. The compatibility issue of the macOS Big Sur update will fully depend on your computer.

So if you do not have those mac computer versions, the only option you have is to buy a new Mac. You can check out the list of the macOS Big Sur update compatible mac versions to know if yours is listed here or not.

Things to Consider Before Updating macos catalina to macOS Big Sur

Sometimes it’s better not to upgrade to the latest version for mac right away as there are a few things that need to be taken care of. Since every one of us wants to have a seamless & smooth transition of the macOS Big Sur update, let’s start considering few of the things as mentioned below:

1. One of the first things before going ahead with the upgrade to macOS Big Sur is backing up your system. All you need to have is the Time Machine & an external hard drive and in a few minutes, you will be able to backup your mac.

2. Another thing to consider is using the First Aid feature from the Disk Utility app on the mac. You need to start with launching the Disk Utility app on the system & navigate yourself to the First Aid option to look for the errors on the disk. Hopefully the disk doesn’t show any errors while using the Disk Utility app so that the whole transition can be easy for you.

3. Cleaning out the junk or unnecessary items from the mac is extremely important as there are plenty of them on your device. So please delete all those items from the mac to have a smooth transition for the macOS Big Sur update.

How to Update macOS Catalina

Normally, whenever the new system update releases, the system will show the same automatically as a notification. And that’s your hint to go ahead with the update where you need to tap on the notification & click on Install Now option.

However, there are times when you either miss out on those new system updates or are waiting for the reviews from users. Either way, after making the decision of going ahead with the macOS Big Sur update, navigate yourself to the System Preferences > Software Update > Upgrade Now.

Now if you are one of those users who didn’t get a chance to tap on the macOS Big Sur update notification or use the above mentioned path, you can use another option as well. All you need to do is, visit the Apple official website (macOS Big Sur) & download the latest macOS update from the same platform.

Please know that the macOS Big Sur update is a bit over 12 GB, it will take some time for the update to get downloaded. Once the whole “upgrade to macOS Big Sur” file has been downloaded, your mac will start the installation process by launching the installer automatically. The next steps wouldn’t require anything specific from users end as all they need to do is follow the instructions through the installation process. And within a while, the macOS Big Sur update will be installed on the system successfully. The average time it takes to update macOS Catalina to the macOS Big Sur is about 30 minutes so please be prepared to have patience for that much time.

What Is The Latest Update For Macos Catalina

Get Exciting Features With The macOS Big Sur Update

Each & every update on different devices brings many features to explore and at the same time, instant bugs as well. For example, the macOS Big Sur update that brings many features from user interface to exciting features that can give your system a whole new makeover. I strongly believe that once you are all set with this macOS Big Sur upgrade, you yourself will know that the experience cannot be described in words. So without further ado, check if your mac comes under the list of the compatible macbook versions, & if yes then download the macOS Big Sur installation files right away.

How To Install Git On Mac Catalina

Recommended Readings: