Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
staging [2009/11/22 05:40] mdc |
staging [2009/11/22 20:25] mdc |
||
---|---|---|---|
Line 215: | Line 215: | ||
$ git am < new_feature_v2.patch | $ git am < new_feature_v2.patch | ||
$ git push staging sponsor_name-task_number-feature_branch_name_v2 | $ git push staging sponsor_name-task_number-feature_branch_name_v2 | ||
- | |||
==== Some useful git commands for staging maintainers ==== | ==== Some useful git commands for staging maintainers ==== | ||
=== Ways to view the staging repository === | === Ways to view the staging repository === | ||
+ | |||
+ | == View compact listing of remote branches == | ||
$ git branch -r -v | $ git branch -r -v | ||
+ | |||
+ | == Look at staging branch commits == | ||
+ | |||
$ git log staging/branch_name | $ git log staging/branch_name | ||
+ | |||
+ | == Show commits in staging branch not in main branch == | ||
+ | |||
+ | $ git cherry -v HEAD staging/branch_name | ||
=== Prune remote branches from local repository === | === Prune remote branches from local repository === |