Skip to content

Instantly share code, notes, and snippets.

@nickfloyd
nickfloyd / create_branch_from_tag
Created January 27, 2011 05:38
To create a branch from a tag
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch
@johnnyman727
johnnyman727 / for_fang.js
Created October 14, 2014 02:35
Many Modules
require('tesselate')(['ble-ble113a', 'climate-si7020', 'ambient-attx4', 'camera-vc0706'], function(tessel, modules) {
console.log('connected!');
modules.climate.readTemperature(message, function (err, temp) {
modules.climate.readHumidity(function (err, humid) {
console.log(temp + ":" + humid);
modules.ambient.getLightLevel(function (err, ldata) {
if (err)
throw err;
modules.ambient.getSoundLevel(function (err, sdata) {
@cvburgess
cvburgess / create_branch_from_tag
Created September 29, 2015 19:15 — forked from nickfloyd/create_branch_from_tag
To create a branch from a tag
-Go to the starting point of the project
>> git checkout origin master
-fetch all objects
>> git fetch origin
-Make the branch from the tag
>> git branch new_branch tag_name
-Checkout the branch
>> git checkout new_branch
-Push the branch up
>> git push origin new_branch