Skip to content

Instantly share code, notes, and snippets.

@avdi
Created September 8, 2011 19:12
Show Gist options
  • Save avdi/1204386 to your computer and use it in GitHub Desktop.
Save avdi/1204386 to your computer and use it in GitHub Desktop.
Set up a fresh Emacs config directory
(if (<= emacs-major-version 23)
(load "~/.emacs23")
(load "~/.emacs24.d/init.el"))
mkdir .emacs24.d
cd .emacs24.d
git init
# Not shown: create a basic README.org file...
git add README.org
git commit -m "Initial"
hub create # Create a new Github repo and link it here
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment