Skip to content

Instantly share code, notes, and snippets.

View khairuladib94's full-sized avatar
🤖
beep boop

Adib Yusof khairuladib94

🤖
beep boop
View GitHub Profile
@khairuladib94
khairuladib94 / matlab-git-fixes.md
Last active March 28, 2022 17:08
Fixing errors for MATLAB Git integration

Some errors related to MATLAB Git integration can be resolved using the following fixes:

Tested on MATLAB R2022a

Error 1: SSH authentication fails

  1. Close MATLAB.
  2. Generate SSH key as described here:
ssh-keygen -t ed25519 -C "your_email@example.com"
  1. Rename the private and public keys in ~\.ssh to id_rsa and id_rsa.pub

Error 2: Local repo corrupted sporadically