- Restart MacOS, immediately press
CMD + R
- In Terminal, write:
csrutil disable
- Restart
Via Systemsettings
xcode-select --install
sudo xcodebuild -license
ssh-add --apple-use-keychain ~/.ssh/PRIVATE_KEY
xattr -d -r com.apple.quarantine ~/Library/QuickLook
Customising Git Customise your Git config by creating a ~/.gitconfig.local file which will extend .gitconfig. Use this to store private details such as your user credentials and signing key.
Example ~/.gitconfig.local file:
[user]
name = "Firstname Lastname"
username = "username"
email = "[email protected]"
[github]
user = your-github-username
[credential]
helper = osxkeychain
[includeIf "gitdir:~/workspace/"]
path = ~/workspace/.gitconfig
Include another .gitconfig in ~/workspace, to override with work credentials, if necessary (same content as above)