git随笔

repo init -u ssh://wangxy@git.fd565.com:29418/Product/F3/Lichee
repo init -u ssh://wangxy@git.fd565.com:29418/Product/F3/Android

rm .repo/ -rf

rm ~/.ssh/* -rf

ssh-keygen

cat ~/.ssh/id_rsa.pu

repo sync -j8


————————————————————————————————————————————————————————————————————————————————————

git clone  ssh://wxy00@192.168.2.174:29418/MR133_CameraProcess.git

git status

git add 修改的文件    (git add . -A)


git commit -m "修改的信息,说明"

git push origin HEAD:refs/for/master


git diff rootdir/init.rc


git add arch/arm/configs/sun8iw11p1smp_androidm_defconfig


错误解决方案:
gitdir=$(git rev-parse --git-dir); scp -p -P 29418 wangxy@git.fd565.com:hooks/commit-msg ${gitdir}/hookS

git commit --amend --no-edit

博客:
https://segmentfault.com/a/1190000015044312?utm_source=tag-newest

https://blog.csdn.net/weixin_38317875/article/details/80925750


git add ap6256/*

cat linux-3.10/.config |grep "CONFIG_BCMDHD_NVRAM_PATH"

原文地址:https://www.cnblogs.com/panda-w/p/11589598.html