旧git手记

已经用不太到的命令行方式

git init xxx
cd xxx
echo '123' >> README.MF
git hash-object -w README.MF
git cat-file -p af766a240be8f9bcf19d51dd92a4080f368574a1
git add README.MF
git status
		删除临时 git rm --cached README.MF
git add -A
git commit README.MF -m '注解'
git remote add origin https://xxx.xxx.git
		删除 git remote rm origin
git push --set-upstream origin master

你可能感兴趣的:(git)