Because I only want to keep the code I wrote locally, I forked other people’s initial warehouse and synchronized it with other people’s warehouses. After you finish writing it regularly, push it up and then send a pull request. But I found that when sending a pull request, more and more files were included. How to include only newly added files?
You need to synchronize with other people’s warehouses before submitting a pull request. You can use
git pull -r <别人仓库的地址> <分支>
,and remember to merge the approved pull request in advance.