先在github上创建仓库。
复制仓库:
git clone https://github.com/quantum6/AndroidCameraFps.git
设置用户名密码:
git config --global user.name "你的名字或昵称" git config --global user.email "你的邮箱"
进入代码目录,添加所有代码
git add *
提交:
git commit -m "my first commit" git push origin master