Skip to content

Instantly share code, notes, and snippets.

Avatar

André Tarnowsky lotterfriends

View GitHub Profile
@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active May 17, 2021
A comparison of using `git flow` commands versus raw `git` commands.
View gitflow-breakdown.md

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@jamesvl
jamesvl / gist:910325
Created Apr 8, 2011
Web server rewrite rules for using klein PHP router
View gist:910325

URL-rewriting for klein PHP router

Why rewrite URLs? Check Wikipedia

Apache

Make sure AllowOverride is on for your directory, or put in httpd.conf

# Apache (.htaccess or httpd.conf)
RewriteEngine On