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

Add git checkout-history command #54

Closed
mscottford opened this issue Apr 28, 2022 · 0 comments · Fixed by #116
Closed

Add git checkout-history command #54

mscottford opened this issue Apr 28, 2022 · 0 comments · Fixed by #116
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@mscottford
Copy link
Member

mscottford commented Apr 28, 2022

git checkout-history

Used to checkout a specific historical point for a given repository.

freshli [global options] git checkout-history [command options] <repository-id> <sha>

What this command does?

Delegates to the git archive command to create an archive of the specified sha, and then extract that archive into the $CACHE_ROOT/histories/<repository id>/<sha> directory.

Global Options

  • --cache-dir <path>
    • the location where the freshli command will write temporary files as part of it’s processing
    • default value: $HOME/.freshli

Command Options

  • --git-path
    • Path to the git binary
    • default value: git
@mscottford mscottford changed the title Add cache checkout-history command Add git checkout-history command Apr 29, 2022
@mscottford mscottford added the enhancement New feature or request label Apr 29, 2022
@edwinkortman edwinkortman self-assigned this Jun 20, 2022
@edwinkortman edwinkortman moved this from To Do to In Progress in Freshli Jun 20, 2022
@edwinkortman edwinkortman removed their assignment Jun 29, 2022
@edwinkortman edwinkortman moved this from In Progress to To Do in Freshli Jun 29, 2022
@edwinkortman edwinkortman self-assigned this Jun 29, 2022
@edwinkortman edwinkortman moved this from To Do to In Progress in Freshli Jun 29, 2022
Repository owner moved this from In Progress to Done in Freshli Jul 15, 2022
@mscottford mscottford added this to the v0.5.0 milestone Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants