Skip to content

Instantly share code, notes, and snippets.

View betoarpi's full-sized avatar
💭
Building React Native Apps

Rob Arroyo betoarpi

💭
Building React Native Apps
View GitHub Profile
@betoarpi
betoarpi / gist:c32a8053aac4a60746b718bea5322f32
Created March 24, 2021 00:35 — forked from dsci/gist:1347672
Delete commits from repository.
# First, check out the commit you wish to go back to (get sha-1 from git log)
git reset --hard 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a
# Then do a forced update.
git push origin +9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a^:develop
# Push specific commit
git push origin 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a:develop -f
@betoarpi
betoarpi / 0_reuse_code.js
Created November 9, 2015 20:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console