aosp - Create a git repository for android source code
三叔
三叔 2017-06-07 09:23:30
0
1
867

I downloaded an android source code from the Internet. There is a patch that needs to be entered, and git needs to be used.
The source code has not established a git warehouse, and it cannot be executed using git apply or git am.
Now I am using the following command in the source code root directory. Will it cause any problems?
git add .
git commit -am "commit all files"

Create local warehouse and directory in this way. Then use
git am*.patch to enter the patch.

三叔
三叔

reply all (1)
習慣沉默

You need togit initto initialize the warehouse first, and then commit.

If you just want to import patch, you don’t have to go through git. You can also use thepatchcommand to import.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!