Skip to content

Instantly share code, notes, and snippets.

View N0K0's full-sized avatar
🧑‍🚒
Why can't i hold all these project ideas?

Nikolas N0K0

🧑‍🚒
Why can't i hold all these project ideas?
View GitHub Profile
@N0K0
N0K0 / README.md
Last active July 1, 2021 17:04 — forked from bvis/README.md
Docker Env Vars expanded with secrets content
@N0K0
N0K0 / git-truncate.sh
Created August 1, 2017 11:44 — forked from charandas/git-truncate.sh
Truncate git history
# Prepare new_master
git checkout <hash-where-you-want-to-clip-history>
git checkout --orphan new-master
git checkout new_master
git cherry-pick first-commit-to-include^..last-commit-to-include
# Prepare master backup
git checkout master
git checkout -b master-backup