Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
development:git:start [2021/06/29 15:03] kalenpw |
development:git:start [2021/07/01 10:24] (current) kalenpw |
||
---|---|---|---|
Line 15: | Line 15: | ||
- '' | - '' | ||
- '' | - '' | ||
+ | |||
+ | ---- | ||
+ | ===== Replace one branch with another ===== | ||
+ | Useful if working on complete overhauls in a separate branch | ||
+ | <code bash> | ||
+ | git checkout better_branch | ||
+ | git merge --strategy=ours master | ||
+ | git checkout master | ||
+ | git merge better_branch | ||
+ | </ | ||
---- | ---- |