Skip to content

Instantly share code, notes, and snippets.

@jq2
Last active August 8, 2018 13:54
Show Gist options
  • Save jq2/c208d488118d35e6b51cb64bc8d1a180 to your computer and use it in GitHub Desktop.
Save jq2/c208d488118d35e6b51cb64bc8d1a180 to your computer and use it in GitHub Desktop.
bash/one-liners
$ folder="/tmp/work-`date +'%F'`"; cd $folder; git init $folder; > $folder/README.md; git add -A; git commit -am "Initial commit";
$ mkdir /tmp/work_`date +'%F'` && cd $_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment