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
Post a Comment