Skip to content

Instantly share code, notes, and snippets.

View meetkool's full-sized avatar
💭
I may be slow to respond.

Meet Bhanushali meetkool

💭
I may be slow to respond.
View GitHub Profile
@synecdocheNORTH
synecdocheNORTH / script.babel
Created January 9, 2019 19:56
Three.js Smoke Cloud
let cam, scene, renderer,
clock, smokeMaterial,
h, w,
smokeParticles = [];
const animate = () => {
let delta = clock.getDelta();
requestAnimationFrame(animate);
@ozh
ozh / new empty git branch.md
Last active October 17, 2024 06:25
Create a new empty branch in Git
$ git checkout --orphan NEWBRANCH
$ git rm -rf .

--orphan creates a new branch, but it starts without any commit. After running the above command you are on a new branch "NEWBRANCH", and the first commit you create from this state will start a new history without any ancestry.

You can then start adding files and commit them and they will live in their own branch. If you take a look at the log, you will see that it is isolated from the original log.