版权声明:hushui版权所有 https://blog.csdn.net/hushui/article/details/83506511
lake@localhost:~/Google$ cat rsync-exclude-from.txt
.repo
.git
/.gitignore
/out
lake@localhost:~/Google$ rsync -r -l -t --exclude-from "rsync-exclude-from.txt" --delete --progress /home/lake/Rockchip/Firefly-RK3399_Android8.1_git_SDK_20180901/ /home/lake/Google/git-android-8.1.0_r33/
### there are files of .gitignore
git-aosp-AndroidN7.1.x$ find build/ -name .gitignore
build/make/tools/makeparallel/.gitignore
build/make/.gitignore
build/blueprint/.gitignore
build/kati/.gitignore
############ avoid missing files through git/repo in aosp commit. or git add -f all ignored files in init commit!!!