Skip to content

Instantly share code, notes, and snippets.

@jwrr
jwrr / create-github-repo.bash
Created June 13, 2020 20:09
Create Github Repo from Command Line
#!/bin/bash
# put this function in .bash_aliases
function create_github_repo() {
if [ "$1" == "" ]; then
printf "Enter repo name: "
read repo_name
else
repo_name=$1
@jwrr
jwrr / git-submodule-example.txt
Created March 28, 2020 16:18
Include another project using git submodule
## How to add external project using git submodule?
## These are notes from when I added submodules to lued.
## Clean up
rm -rf lued_dev
## Clone your repo that will include the external projects
git clone https://jwrr@github.com/jwrr/lued.git lued_dev
cd lued_dev