git随笔

repo init -u ssh://[email protected]:29418/Product/F3/Lichee.git

rm .repo/ -rf

rm ~/.ssh/* -rf

ssh-keygen

cat ~/.ssh/id_rsa.pu

repo sync -j8


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

git status

git add 修改的文件


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 [email protected]: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/*

猜你喜欢

转载自www.cnblogs.com/panda-w/p/11589598.html
今日推荐