Editor: (do not forget to tick "Add to PATH" option on VS Code installation
git config --global core.editor "code --wait"
Diff:
git config --global -e
Editor: (do not forget to tick "Add to PATH" option on VS Code installation
git config --global core.editor "code --wait"
Diff:
git config --global -e
Edit ~/.bash_profile and add this:
# Workaround for Docker for Windows in Git Bash.
docker()
{
(export MSYS_NO_PATHCONV=1; "docker.exe" "$@")
}
. { iwr -useb git.io/Jv6q0 } | iex |
local json = require("json") | |
-- request body is in r.RequestBody, use it as any other string: | |
local body, err = json.decode(r.RequestBody) | |
if err then error(err) end | |
local new_body = { | |
event_type = "gerrit-" .. body["type"], | |
client_payload = body |