Skip to content

Instantly share code, notes, and snippets.

View kisplab's full-sized avatar

KİSP Lab Research Group kisplab

  • İstanbul
View GitHub Profile
@kisplab
kisplab / git-overwrite-branch.sh
Created January 1, 2020 17:12 — forked from ummahusla/git-overwrite-branch.sh
Git overwrite branch with another branch
# overwrite master with contents of seotweaks branch (seotweaks > master)
git checkout seotweaks # source name
git merge -s ours master # target name
git checkout master # target name
git merge seotweaks # source name