Skip to content

Instantly share code, notes, and snippets.

View bakialmaci's full-sized avatar
:shipit:

Baki Almaci bakialmaci

:shipit:
  • Netherlands
  • 19:15 (UTC +02:00)
View GitHub Profile
@robwierzbowski
robwierzbowski / gitcreate.sh
Last active December 27, 2024 11:23
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)