Skip to content

Instantly share code, notes, and snippets.

View alexkorep's full-sized avatar

Alexey Korepanov alexkorep

  • ClickHouse
  • Amsterdam, Netherlands
  • 12:36 (UTC +01:00)
View GitHub Profile
@alexkorep
alexkorep / gitcreate.sh
Created June 2, 2017 10:29 — forked from robwierzbowski/gitcreate.sh
A simple litte script. Create and push to a new github repo from the command line.
#!/bin/bash
# https://gist.github.com/robwierzbowski/5430952/
# Create and push to a new github repo from the command line.
# Grabs sensible defaults from the containing folder and `.gitconfig`.
# Refinements welcome.
# Gather constant vars
CURRENTDIR=${PWD##*/}
GITHUBUSER=$(git config github.user)
@alexkorep
alexkorep / Instructions.md
Last active May 8, 2017 12:26 — forked from pgilad/Instructions.md
Git commit-msg hook to validate for jira issue or the word merge

Instructions

  • copy the file commit-msg to .git/hooks/commit-msg
  • Make commit msg executable. chmod +x .git/hooks/commit-msg
  • Optional: edit commit-msg to better fit your development branch, commit regex and error message
  • Profit $$

Shell example