Skip to content

Instantly share code, notes, and snippets.

@DarwinniwraD
DarwinniwraD / git_cheat-sheet.md
Created January 3, 2018 08:23 — forked from davfre/git_cheat-sheet.md
git commandline cheat-sheet
@DarwinniwraD
DarwinniwraD / Setting_upa_new_repo.md
Last active November 24, 2017 02:51 — forked from alexpchin/Setting_upa_new_repo.md
Create a new repository on the command line

Setting up a new Git Repo

##Create a new repository on the command line

touch README.md
git init
git add README.md
git commit -m "first commit"

git remote add origin git@github.com:/.git

@DarwinniwraD
DarwinniwraD / git_merge_local.txt
Last active May 23, 2017 06:13 — forked from vladimirtsyupko/gist:10964772
Git force pull to overwrite local files
git fetch --all
git reset --hard origin/master
git pull origin master
/*
A (very) WIP collection of optimized/recommended jQuery plugin patterns
from @addyosmani, @cowboy, @ajpiano and others.
Disclaimer:
-----------------------
Whilst the end-goal of this gist is to provide a list of recommended patterns, this
is still very much a work-in-progress. I am not advocating the use of anything here
until we've had sufficient time to tweak and weed out what the most useful patterns