Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 815 Bytes

FORK_CONTRIB_TIPS.md

File metadata and controls

49 lines (35 loc) · 815 Bytes

Track upstream

Create and track upstream from local repo:

gRa --track master upstream git@github.com:sorin-ionescu/prezto.git

Create branch to submit a PR to upstream

Create a branch and cherry-pich interresting commits to push to upstream through a PR:

gbc fix-something
gwR upstream/master
gcP <interresting-commit-hash>
gpc

Then go to Github and create a PR to upstream

Merge upstream

Make sure master is clean with no pending modification or unpushed commit.

Create an upstream branch to merge upstream:

gco master
gfm
gbc merge-upstream
gfm upstream master

Compare branch with master:

gco master
gwd master merge-upstream

Rebase upstream branch to master if everything is ok then push:

gco master
gr merge-upstream
gp
gbx merge-upstream