Skip to content

Instantly share code, notes, and snippets.

View mvuorre's full-sized avatar
🐢

Matti Vuorre mvuorre

🐢
View GitHub Profile
@mvuorre
mvuorre / macos-rstats-laptop-setup.md
Last active December 21, 2021 08:37 — forked from gadenbuie/macos-rstats-laptop-setup.md
Setting up a macOS computer for work and play

New apple computer setup

This file describes how I set up an apple computer with the tools I like and use. This tries to be succinct and quick, using homebrew to install as much as possible from the command line.

Apps

  1. Fire up the terminal and install homebrew

Then go ahead and install these apps with homebrew (I have no idea what --cask does but it seems necessary for some)

@mvuorre
mvuorre / git-clearHistory
Last active June 1, 2019 14:26 — forked from stephenhardy/git-clearHistory
Steps to clear out the history of a git/github repository
-- Delete .git folder from disk
rm -rf .git
-- recreate the repo from the current content only (note old .gitignore is preserved)
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repo ensuring you overwrite history
git remote add origin https://github.com/<username>/<reponame>.git