Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support --work-tree or SNOW_WORK_TREE to open repo without cwd #17

Open
sebastianrath opened this issue Feb 14, 2021 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sebastianrath
Copy link
Contributor

The snow CLI should support an option to open repositories that are not in the cwd.

Example:

$ cd /
$ snow --work-tree /Users/foo/Desktop/foo log

or

$ export SNOW_WORK_TREE=/Users/foo/Desktop/foo
$ snow log

Reference: https://git-scm.com/docs/git#Documentation/git.txt---work-treeltpathgt

@sebastianrath sebastianrath added enhancement New feature or request good first issue Good for newcomers labels Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant