Skip to content

Instantly share code, notes, and snippets.

@v1nn1k
v1nn1k / script.sh
Last active November 19, 2021 12:37 — 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` or `main`, or whatever branch your code is located in.
git checkout -b project
# MAKE SURE TO PUT IN YOUR BRANCH NAME :)
git merge <main|master> --allow-unrelated-histories