Skip to content

Instantly share code, notes, and snippets.

View JohnathanMarkSmith's full-sized avatar

Johnathan Mark Smith JohnathanMarkSmith

View GitHub Profile
@JohnathanMarkSmith
JohnathanMarkSmith / Git commit editior
Created February 21, 2023 15:32 — forked from S3ak/Git commit editior
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

NOTICE

IMPORTANT: This guide is for the old 2.x version of gitolite, which is(as of April 22nd 2012) the one found in most OS package repositories. Please consider using the current 3.x branch of gitolite, for which a very nice howto is written by the author.

Introduction

This is a quick walkthrough on how to install and begin using gitolite in under a minute(only 4 commands!). Just follow along through the shell blocks. Reading the gitolite docs is STRONGLY recommended.

Assumptions

SELECT 'Hello, MySQL World!' AS Message