Repository navigation
Add checkout --unstaged flag - #1262
Conversation
|
This change could potentially be more useful if it left oids intact, so that |
|
Nice 👍 What do you think about adding this to |
|
👋 This looks great, thanks @orivej. I'm happy to merge this as-is. If you'd like to add the Let me know what works for you! Thanks again. |
|
I'm going to rebase this pull request onto the master, and also add the flag to the pull command. |
|
I've proposed reverting this for a couple of reasons discussed in #1352 - I think it should be resubmitted in another form. |
|
@orivej Did you have time to do it? |
This change introduces
--unstaged('-u') flag to thecheckoutsubcommand. Originally it is intended to skip the costlygit update-indexcall in the continuous integration setup wheregit lfs checkoutis the last git operation performed in the clone, and the state of the index does not matter anymore.