Set which editor git should use.
This is the program that will open during a commit with no -m flag, a merge, a rebase, etc...
Select from any installed editor. Examples:
- emacs:
emacs - vi:
viorvim
| /** | |
| * Naive sort - Quadratic time, nested loops | |
| * Divide & Comquer - O(nlogn) | |
| */ | |
| module.exports = { | |
| bubbleSort () { | |
| }, |
| # import packages | |
| %matplotlib inline | |
| %config InlineBackend.figure_format = 'retina' | |
| from os import path, makedirs | |
| import numpy as np | |
| import matplotlib.pyplot as plt | |
| import torch | |
| from torch import nn, optim | |
| import torch.nn.functional as F |
| #!/usr/bin/env bash | |
| # Use this one-liner to produce a JSON literal from the Git log: | |
| git log \ | |
| --pretty=format:'{%n "commit": "%H",%n "author": "%aN <%aE>",%n "date": "%ad",%n "message": "%f"%n},' \ | |
| $@ | \ | |
| perl -pe 'BEGIN{print "["}; END{print "]\n"}' | \ | |
| perl -pe 's/},]/}]/' |
Set which editor git should use.
This is the program that will open during a commit with no -m flag, a merge, a rebase, etc...
Select from any installed editor. Examples:
emacsvi or vim