Third experiment using Android Github project management

Article Directory

First, the purpose of the experiment

  • 1. Master in Android Studio to use Git
  • 2. Master Github project management

Second, the experimental task

  • 1. Create a new project in Android Studio
  • 2. Add the VCS Git support
  • 3. Publish the project to Github
  • 4. Modify the code submission, the new branch, merge, etc. In Android Studio operations
  • 5. Push project to Github
  • 6. If more than cooperation, processing pull request

Third, the experimental procedures and results

  • 1, New In Android Studio project: My project is to design the campus secondary trading, so named Camtransaction, as shown below
    Enter a description of the picture here

Enter a description of the picture here

  • 2, adding Git support in VCS: VCS In Android Studio in open import into version control, then click share project on github, enter your github account password, as shown below
    Enter a description of the picture here

  • 3, publish the project to Github: Click share, will be released in Android Studio project files locally onto github, as shown below
    Enter a description of the picture here

  • 4, in the code modify Android Studio, filed, the new branch, merge operations such as:

1) the code changes, such as modifying the global variables string.xml.
Enter a description of the picture here

2) submit code, right click, select git - commit file - commit and push, as shown below.
Enter a description of the picture here

  • 5, push the project to Github: on github, we can see their modifications, as well as modified.
    Enter a description of the picture here

Fourth, test summary

This semester I will own campus secondary trading app really planning to do it, but software development will be a long process, if only to save every modification on android, there is a risk of missing codes. The experiment I learned how to upload local files to your own website github, after the revision of the development of the software can be stored on github, you can still see each submitted revised modification time and theme, while download the code from github to local, which brings great convenience and security to software development.

Original: Large column  third experiment using Android Github project management


Guess you like

Origin www.cnblogs.com/peterchan1/p/11639529.html