Skip to content

Instantly share code, notes, and snippets.

View Alexander-Serov's full-sized avatar
🔬
pasteurized

Alexander Serov Alexander-Serov

🔬
pasteurized
  • Barcelona, ES
  • 09:57 (UTC +02:00)
View GitHub Profile
@S3ak
S3ak / Git commit editior
Last active May 21, 2024 12:52
How to set git commit editor to sublime
Method 1
git config --global core.editor "'c:/program files/sublime text 3/sublime_text.exe' -w"
Method 2
git config --global core.editor "subl -n -w"
Method 3
$ echo 'alias subl="/cygdrive/c/Program\ Files/Sublime\ Text\ 3/sublime_text.exe"' >> ~/.bashrc