Move EmacsConfig from Dropbox to GIT
I use https://bitbucket.org/, and this is a procedure how to move EmacsConfig files to git repository of bitbucket.org from Dropbox.
- Create repository on bitbucket.org
- git clone https://$bitbucketUserName@bitbucket.org/$bitbucketUserName/$bitbucketRepositoryName.git
- cd $bitbucketRepositoryName
- echo "# ReadMe of $bitbucketRepositoryName" >> README.md
- git add README.md
- git commit -m "Initial commit with ReadMe"
- git push -u origin master
- cp -r $DropboxEmacsConfigDir .
- find . -name '*.el' -exec git add {} \;
- git commit -m "EmacsConfig files initial commit"
- git push -u origin master
New directory whose name is same as a repository name would be created when git clone command done. So I did above commands in $HOME/Workspace.
After above action done, change $HOME/.emacs.d symbolic link.