Created
August 30, 2018 22:35
-
-
Save jlisee/4dd921ebc32da3254b1e61313e7d0cce to your computer and use it in GitHub Desktop.
git lfs ls-files issue example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir testrepo | |
$ git init | |
$ git lfs install | |
Updated git hooks. | |
Git LFS initialized. | |
$ git lfs track "*.psd" | |
Tracking "*.psd" | |
$ git add .gitattributes | |
$ git commit -m "attributes" | |
[master (root-commit) 4a725e5] attributes | |
1 file changed, 1 insertion(+) | |
create mode 100644 .gitattributes | |
$ git lfs ls-files 4a725e5 | |
$ echo foo > file.psd | |
$ git add file.psd | |
$ git commit -m "Add design file" | |
[master 16deebf] Add design file | |
1 file changed, 3 insertions(+) | |
create mode 100644 file.psd | |
$ git lfs ls-files 4a725e5 | |
b5bb9d8014 * file.psd | |
$ git checkout -b first-commit 4a725e5 | |
(first-commit)$ git lfs ls-files 4a725e5 | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment