Git Repo Relative Path #2717
Unanswered
GavinOsborn
asked this question in
Troubleshoot
Replies: 2 comments 13 replies
|
@GavinOsborn let me have a quick play around with it as I think this can be done using cross segment properties. |
3 replies
|
Take your time. It's only software 😄
…On Mon, 29 Aug 2022, 07:01 Jan De Dobbeleer, ***@***.***> wrote:
@GavinOsborn <https://github.com/GavinOsborn> git is always using those
paths, I'll trim it off. Expect a fix asap (probably tomorrow as it's 23:00
here).
—
Reply to this email directly, view it on GitHub
<#2717 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEN7VBZL7BNWRUUGDWOPJ3V3PHSJANCNFSM572TVMIQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey folks,
When you're terminal session is within a git repo is it possible to evaluate the path relative to the root of the repo?
eg: if the root of my repo was
~/code/github/foo/and I was currently in~/code/github/foo/baz/barthen the path evaluated would bebaz/bar.It feels like the Mapped Locations sample was in response to a similar question - but I was hoping for something that was contextual to the current repo.
That in itself would be great. Making it available to the path formatting styles functions would be better still.
Thanks
All reactions