Skip to content

Instantly share code, notes, and snippets.

@kjunggithub
kjunggithub / gist:8330157
Last active May 30, 2022 03:40
git hubflow cheaetsheet

Git HubFlow Cheat Sheet

Preparing the repository

Create the repository on GitHub/Bitbucket. Once created, clone the created repository to your local machine using:

git clone git@github.com:username/repository.git

CD into the repository folder and run the init command to enable to hub flow tools:

cd repo_name
@kjunggithub
kjunggithub / gist:8066375
Last active January 1, 2016 00:28
Set default editor for git
git config --global core.editor "subl -n -w"
git config --global core.editor "vim"
@kjunggithub
kjunggithub / Gruntfile.js
Created December 11, 2013 20:44
Gruntfile.js
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
// jshint
jshint: {
options: {
jshintrc: '.jshintrc'
},
all: [
@kjunggithub
kjunggithub / gist:6775197
Last active December 24, 2015 09:09
Sublime Text 2 SublimeLinter User Settings
{
"sublimelinter": true,
"sublimelinter_executable_map":
{
"php":"/usr/local/bin/php",
"css":"/usr/local/bin/node",
"html":"/usr/local/bin/tidy",
"js":"/usr/local/bin/node"
},
"sublimelinter_popup_errors_on_save": true,

Sublime Text 2 – Useful Shortcuts (Mac OS X)

OS X Keys

command
option
control
shift

General