How can I undo the latest git command in Android Studio? -


i'm not sure heck did, reason had "head" , "master" branch. , latest commit had "head", tried figuring out how change master. went vcs > git > branches, , think pressed out "checkout" on master branch. now, whole project reverted master branch , lost lot of progress.

now question is, how can undo this? haven't done since happened.

it turns out wonderful ctrl+z did trick. undos latest thing did, if did after won't guarantee work.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -