Skip to content

Instantly share code, notes, and snippets.

View marchev's full-sized avatar

Martin Marchev marchev

View GitHub Profile
@marchev
marchev / script.sh
Created July 20, 2024 14:45 — forked from lopezjurip/script.sh
Github full code review
# Create empty branch.
git checkout --orphan review
git rm -rf .
git commit --allow-empty -m "Create empty branch"
git push --set-upstream origin review
# Create `project` branch from `master` current state.
git checkout -b project
git merge master --allow-unrelated-histories
git push --set-upstream origin project