OpenWrt 学习记录

OpenWrt 学习记录

ssh setting

keygen
	ssh-keygen -t rsa -C "[email protected]"

copy rsa_pub to gitee ssh
	cat id_rsa id_rsa.pub
	打开gitee仓库,点击头像、点击设置,点击SSH公钥,粘贴

test gitee
	ssh -T [email protected]

config
	git config --global user.email "[email protected]"
	git config --global user.name "hugh"

CodePath

github: git clone https://github.com/coolsnowwolf/lede gitLEDE
gitee:  git clone [email protected]:hughMTK/lede.git giteeLEDE

cd lede
create new branch
	git branch -d hughLearn
	git checkout --orphan hughLearn
push origin
	git push origin --delete hughLearn
	git add -A  && git commit -m "initCode"
	git push origin hughLearn
	

review Makefile

CURDIR
	CURDIR是Makefile的内嵌变量,自动设置为当前目录
grep -m 
	--max-count 显示最大行数	
	

你可能感兴趣的:(学习,openWRT)