Eric A. Meyer on Nostr: A bash script I want: whenever I `cd` into a repository directory from a directory ...
A bash script I want: whenever I `cd` into a repository directory from a directory outside that repository, `git branch` is fed to stdout, so I can see all the local branches. Does anything like this exist?
(My DuckDucking has yielded nothing of interest, but I may be using bad search terms.)
Published at
2023-03-30 16:55:01Event JSON
{
"id": "2eaf59655cb81e4e22d3989ad328cc5c2da5b2913024a13e14f54f4654e54764",
"pubkey": "6a32e47d258bb692f15a085dbdcb60ed381bb2921af6b4db1107a7ea545109cc",
"created_at": 1680195301,
"kind": 1,
"tags": [
[
"mostr",
"https://mastodon.social/users/Meyerweb/statuses/110113279298742673"
]
],
"content": "A bash script I want: whenever I `cd` into a repository directory from a directory outside that repository, `git branch` is fed to stdout, so I can see all the local branches. Does anything like this exist?\n\n(My DuckDucking has yielded nothing of interest, but I may be using bad search terms.)",
"sig": "628775317c0443bb75abfbd1ab8395d66b74a0e3429a22a2458f79d98299c72a32648162c4c16dc94fd5d7684f5a892e41613e2086f3b9937ca7d188431bdc79"
}