Title: branch name in `doInitialCommit` function push command · Issue #424 · commitdev/zero · GitHub
Open Graph Title: branch name in `doInitialCommit` function push command · Issue #424 · commitdev/zero
X Title: branch name in `doInitialCommit` function push command · Issue #424 · commitdev/zero
Description: I am using initial branch name to main. And, i set this name in git configure file(ex. ~/.gitconfig on macos). So, i think that command of doInitialCommit should be changed. It would be nice to change it to use the name returned by the i...
Open Graph Description: I am using initial branch name to main. And, i set this name in git configure file(ex. ~/.gitconfig on macos). So, i think that command of doInitialCommit should be changed. It would be nice to cha...
X Description: I am using initial branch name to main. And, i set this name in git configure file(ex. ~/.gitconfig on macos). So, i think that command of doInitialCommit should be changed. It would be nice to cha...
Opengraph URL: https://github.com/commitdev/zero/issues/424
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"branch name in `doInitialCommit` function push command","articleBody":"I am using initial branch name to `main`. And, i set this name in git configure file(ex. `~/.gitconfig` on macos).\r\n\r\nSo, i think that command of `doInitialCommit` should be changed.\r\n\r\nIt would be nice to change it to use the name returned by the `init.defaultBranch`.\r\n\r\n```go\r\ncommands := []initialCommands{\r\n\t\t...\r\n\t\t{\r\n\t\t\tdescription: \"git push -u origin master\",\r\n\t\t\tcommand: \"git\",\r\n\t\t\targs: []string{\"push\", \"-u\", \"origin\", \"master\"},\r\n\t\t},\r\n}\r\n```","author":{"url":"https://github.com/gmlwo530","@type":"Person","name":"gmlwo530"},"datePublished":"2021-10-17T17:59:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/424/zero/issues/424"}
| 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:0a939828-2902-9ace-7917-278ceb01ce4f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E840:1E52E9:6A352A:933573:6981E066 |
| html-safe-nonce | 106902f5f7abf234b9308a8c3463969b0c9ab9f3b1de81afd2736f614889aae1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODQwOjFFNTJFOTo2QTM1MkE6OTMzNTczOjY5ODFFMDY2IiwidmlzaXRvcl9pZCI6Ijg1NjIzMzYwNjE2Mzg5NTkyMDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 11636697393a3577f88a5813135a0c04eb84549fc4f113c84bfcda1f467c711b |
| hovercard-subject-tag | issue:1028395268 |
| 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/commitdev/zero/424/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ad08e09a46d34c84d23f15846bed05b2c6d188dffd7d3b8d019612173984924d/commitdev/zero/issues/424 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ad08e09a46d34c84d23f15846bed05b2c6d188dffd7d3b8d019612173984924d/commitdev/zero/issues/424 |
| og:image:alt | I am using initial branch name to main. And, i set this name in git configure file(ex. ~/.gitconfig on macos). So, i think that command of doInitialCommit should be changed. It would be nice to cha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gmlwo530 |
| hostname | github.com |
| expected-hostname | github.com |
| None | ebfdf8d3e0fd17b103f41cc6696d84938694ebebdfecaf11fe00dbe4a9785801 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitdev/zero git https://github.com/commitdev/zero.git |
| octolytics-dimension-user_id | 44272088 |
| octolytics-dimension-user_login | commitdev |
| octolytics-dimension-repository_id | 203630543 |
| octolytics-dimension-repository_nwo | commitdev/zero |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 203630543 |
| octolytics-dimension-repository_network_root_nwo | commitdev/zero |
| 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 | 471ae8701b77c1bf177c58019d2e6fd65ae89141 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width