Use this when installing Atom on a new machine.
-
Delete the following files (all root files of the
.atomdir):.gitignoreinit.coffeekeymap.csonsnippets.csonstyles.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.txtfile:apm list --installed --bare > package-list.txt -
Stage the file and commit, then push to upstream.