# code **Repository Path**: xiaoyeking/code ## Basic Information - **Project Name**: code - **Description**: 课堂代码 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-04-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # code 课堂代码 @fwqw 1.#克隆一个新仓库到当前目录 git clone git@gitee.com:xiaoyeking/code.git #查看git项目状态 git status #添加 $ git add -A $ git commit -m "我的第一次提交" $ git push origin master 2. 远程仓库 初始化 $git init 添加远程仓库地址 git remote add origin git@gitee.com:xiaoyeking/code.git 更改远程仓库地址 $git remote set-url origin git@gitee.com:xiaoyeking/code.git 查看远端地址 $ git remote -v 添加忽略 $ echo "*.wmv ">>.gitignore 拉去代码 $ git pull origin master