Use this when installing Atom on a new machine.
-
Delete the following files (all root files of the
.atom
dir):.gitignore
init.coffee
keymap.cson
snippets.cson
styles.less
-
Clone the repo inside an existing and non-empty directory:
git init git remote add origin REPO_URL git fetch git checkout -t origin/master
-
Install the packages
apm install --packages-file package-list.txt
-
Install/update the new package as usual
-
Then update the
package-list.txt
file:apm list --installed --bare > package-list.txt
-
Stage the file and commit, then push to upstream.