Skip to content

Instantly share code, notes, and snippets.

@boxmo
boxmo / History|-4e620301|entries.json
Last active June 22, 2023 06:40 — forked from brock/psql-with-gzip-cheatsheet.sh
Exporting and Importing Postgres Databases using gzip
{"version":1,"resource":"file:///home/boxmo/projects/invitebox/app/views/landing/index.html.erb","entries":[{"id":"XT7r.erb","timestamp":1687414919953}]}
@boxmo
boxmo / gist:4adeecad9846915fd66f542877965610
Created October 27, 2016 17:41 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote