Nsukami on Nostr: I think the author want to dynamically set remote=upstream (for the main branch), if ...
I think the author want to dynamically set remote=upstream (for the main branch), if remote exists. Otherwise set remote=origin.
I don't it's possible without writing some bash+git aliases :\
Published at
2024-10-14 13:54:40Event JSON
{
"id": "a8310db1d6423853334d25bce3042b7fafc82009ba2972a9374603ce31ea222b",
"pubkey": "bb771e4e895a4798086ee0d412a5089f88069ceacb4121cad5b44f689b20045a",
"created_at": 1728914080,
"kind": 1,
"tags": [
[
"p",
"4b4002d3714d074cc31210e9e65088406e9f62154010da12c339d41b18b30f21",
""
],
[
"p",
"81cfc300bad5b54b2383b80078b96a298431a372e9c31332dfa7a74bccea8591"
],
[
"e",
"7a796393c6f03c8c6e6d60a12fb61867b2460a699bf5600075de9c2c9f34a554",
"",
"root"
],
[
"e",
"3773419272da0f0454634fb571bc652428105485d2e99ada215f592a3376dfe5",
"",
"reply"
]
],
"content": "I think the author want to dynamically set remote=upstream (for the main branch), if remote exists. Otherwise set remote=origin.\n\nI don't it's possible without writing some bash+git aliases :\\",
"sig": "b023cd2d5e7b4ca489020107e5bc73a6af7956e6bfd824347a1e55f0ef53d39764cd347480d5b0fefdb6e604b8276709e2c4df977d67508a0767dddbc8b1511d"
}