Include these aliases in your git workflow by adding them to: ~/.gitconfig
[alias]
b = branch
c = checkout
h = help
p = push
s = status
USERNAME is you
MYPROJECT is the name of your project
Create a MYPROJECT repository on GitHub but don't include ANY files (not even README.md or .gitignore). Then in a local directory create your local repository from the commandline.
mkdir MYPROJECT
cd MYPROJECT/
# Makefile for Scott Nunemacher | |
# Makefile format: | |
# target: dependencies | |
# actions | |
# By default, make these targets | |
all: newest.txt not-newest.txt variable-content.txt |
# This is a general-purpose function to ask Yes/No questions in Bash, either | |
# with or without a default answer. It keeps repeating the question until it | |
# gets a valid answer. | |
ask() { | |
# https://djm.me/ask | |
local prompt default reply | |
while true; do |