Android Studio git First experience

Source: Internet
Author: User

Write this article is to give yourself a wake up, will not be sure to promptly ask, do not think, and finally bury himself a pit.

Git I'm using the git bash+git extensions graphical visualizer. At the beginning of the project, the two tools were used to clone a project locally. Project files include several major branches of the background, website, iOS and Android.

So I was happy to develop, in the Android studio can import projects, at that time for convenience, directly open the Android directory files .....
This is the pit, and then, I began to write layout, class, adapter, interface (fortunately began to write not much). As the pre-project requirements have been changing, I did not develop, and so formally set requirements, I modified the code will be submitted. However, at this time there are various problems I do not know how to solve, fear will cause git conflict and so on.

After the configure, it was my lost place. Originally there is a ready-made git but can not use, this is NOT scientific!!!

Later AH later, Baidu for a long time no one encountered this situation ....
Then I went to ask the next brother, brother said you go directly to the Android Studio import project, then there will be the Add root prompt, click on add root can be fun to play.

I went to try it out, and as it turned out, the Git style was clear and straightforward. Everything has become so easy. I'll take a look at the stickers today, and I'll show you the style tomorrow.

The original did not use Git, Android Studio is just contact soon, but feel that these two things is really artifact, love ah. But there is a point to always note: Do not set a hole for themselves, there are problems must be timely records, timely feedback.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio git First experience

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.