Potch on Nostr: just worked out this useful command for getting back to the top of a git repo, ...
just worked out this useful command for getting back to the top of a git repo, sharing in case others find it helpful and are sick of typing `cd ../../../../../`
`alias gcd='cd $(git rev-parse --show-toplevel)'`
Published at
2024-07-16 22:42:28Event JSON
{
"id": "784c1b460edcf055d47afbce87bab8b8a97b7b0498d1426e9ebab8700fcccbd0",
"pubkey": "b7c7240f144c65b6ad95fa84d5c5180b685fd9f8f1723e7e9f3457077b599631",
"created_at": 1721169748,
"kind": 1,
"tags": [
[
"proxy",
"https://toot.cafe/users/potch/statuses/112798580663716081",
"activitypub"
]
],
"content": "just worked out this useful command for getting back to the top of a git repo, sharing in case others find it helpful and are sick of typing `cd ../../../../../`\n\n`alias gcd='cd $(git rev-parse --show-toplevel)'`",
"sig": "ee5088e006401b13198bac4238ec6f753cfeb531368c34f2cc1c67146fe8ddf28810f3cb0911999c3664f610880bb764b095f6bcac8a592544590cb01ca7a5aa"
}