Title: Add the branch number to cherry pick commits? · Issue #44 · python/core-workflow · GitHub
Open Graph Title: Add the branch number to cherry pick commits? · Issue #44 · python/core-workflow
X Title: Add the branch number to cherry pick commits? · Issue #44 · python/core-workflow
Description: From @ncoghlan on March 12, 2017 4:46 I like having the '[X.Y]' prefixes in cherry pick commit messages, so I went exploring to figure out how we could add them automatically here. As far as I can tell, the best available option seems to...
Open Graph Description: From @ncoghlan on March 12, 2017 4:46 I like having the '[X.Y]' prefixes in cherry pick commit messages, so I went exploring to figure out how we could add them automatically here. As far as I can ...
X Description: From @ncoghlan on March 12, 2017 4:46 I like having the '[X.Y]' prefixes in cherry pick commit messages, so I went exploring to figure out how we could add them automatically here. As far a...
Opengraph URL: https://github.com/python/core-workflow/issues/44
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add the branch number to cherry pick commits?","articleBody":"_From @ncoghlan on March 12, 2017 4:46_\n\nI like having the '[X.Y]' prefixes in cherry pick commit messages, so I went exploring to figure out how we could add them automatically here.\r\n\r\nAs far as I can tell, the best available option seems to be a combination of `git commit --amend -m` and http://stackoverflow.com/questions/7293008/how-to-read-last-commit-comment which would involve doing:\r\n\r\n git log -1 --pretty=%B\r\n\r\nto get the full text of the current commit message, prepending the appropriate \"[X.Y] \" header, and then writing it back into the cherry-pick commit with `git commit --amend -m`.\r\n\r\nIs that a change you might be interested in including if I put together a PR?\n\n_Copied from original issue: Mariatta/chic_a_cherry_picker#14_","author":{"url":"https://github.com/Mariatta","@type":"Person","name":"Mariatta"},"datePublished":"2017-03-16T00:33:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/44/core-workflow/issues/44"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4c9e7f50-6a96-8c48-a090-3ab32ab69bdd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFD6:3D3A2:B6A361:F62FCC:6A4D7655 |
| html-safe-nonce | f1a0f73a4cddb0e52d4b2477eb9bc1f76caa2a3d860d96307888fa6bc68ea559 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkQ2OjNEM0EyOkI2QTM2MTpGNjJGQ0M6NkE0RDc2NTUiLCJ2aXNpdG9yX2lkIjoiODExMzY3MTcwOTA1NDAzOTYzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86afed229e146461bc75a37a5e59503745ddbb2f75c49636137c353076b66009 |
| hovercard-subject-tag | issue:214566204 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/core-workflow/44/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0500a7cb613a339102e6d31c2f7d6c6ab250cde33abe2746e4d908d5aa89e4d9/python/core-workflow/issues/44 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0500a7cb613a339102e6d31c2f7d6c6ab250cde33abe2746e4d908d5aa89e4d9/python/core-workflow/issues/44 |
| og:image:alt | From @ncoghlan on March 12, 2017 4:46 I like having the '[X.Y]' prefixes in cherry pick commit messages, so I went exploring to figure out how we could add them automatically here. As far as I can ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Mariatta |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/core-workflow git https://github.com/python/core-workflow.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 76080865 |
| octolytics-dimension-repository_nwo | python/core-workflow |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76080865 |
| octolytics-dimension-repository_network_root_nwo | python/core-workflow |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8608b0750fc35e283e5ec5b094bff942d7a0e197 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width