Don't use Git commit for Android studio

Source: Internet
Author: User

This afternoon wrote some code, eat dinner with Android Studio commit a bit, do not know if there is no choice commit and push, the result just a bug I want to roll back to the last version of the time, found that Android studio did not upload the code!! Very uncomfortable, just like Word wrote an afternoon article results the computer crashes the same.

I met a bug that let me not touch the mind, as if only every night after dark will appear this bug, read a few times the code did not find the crux of the problem, so that I put the system time to change to daylight ... However, the discovery is not related to time, so I want to revert to the afternoon meal version ... Later still use Terminal bar, can see upload progress hint.

------

I just replaced the noon version and found that it was not part of the database, because that part of the code was exactly the same. So what's the problem? It's really a puzzle, I didn't operate the database anywhere else. I remember working on the database in adapter. So the noon adapter code to take over, but still consistent ah, however, the same 194 lines of code back there, found that the bug disappeared. Then I try to get the code that just went wrong, and it's still going well. I really don't know what the hell this is!!! It is 12:32, is it over 12 o ' all?? I don't think so.

Really afraid of this inexplicable bug ah.

Don't use Git commit for Android studio

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.