update log
- 2022-02-08: update fastgit URL
I am using straight.el to manage my Emacs packages. However, due to GitHub access issues, the bootstrap snippet can not be downloaded successfully and run. After staring Emacs, it hangs forever with high CPU usage.
Here is what is working for me. After following these steps, I can install packages without issue.
Go to
~/.emacs.d
, the directory varies based on your system1.Clone the straight.el repo:
git clone https://github.com/raxod502/straight.el.git straight/repos/straight.el
Change the git default url using the following command as per guide here.
git config --global url."https://hub.fastgit.xyz/".insteadOf "https://github.com/" git config protocol.https.allow always
Remove the straight.el bootstrap snippet from
init.el
.
Restart Emacs and just wait. All my packages are installed and built successfully.