Skip to content

Git | checkout a single file from a specific commit #97

@deoren

Description

@deoren

https://coderwall.com/p/pgqlkq/git-checkout-a-single-file-from-a-specific-commit

git checkout <COMMIT#> <path/to/the/messed/up/file>

Example:

git checkout f08a63ff4fa7b8479f8c698e5998ee1afcac3a4e Gemfile

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions