Warning: mysqli_query(): (HY000/1021): Disk full (C:\xampp\tmp\#sql6704_3f982_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in C:\xampp\htdocs\wordpress\wp-includes\wp-db.php on line 2033
Git版本控制的使用方法 - ZGEO博客

1、第一次使用设置账号

git config–global user.name “name”

git config –global user.email”email@xxx.com”

2、在项目文件夹下初始化仓库

git init 本地的目录变成git本地仓库

3、本地仓库与远程仓库关联

git remote add origin https://gitee.com/xxxxx/xxx.git

4、更新一下项目,保证本地仓库与远程仓库没有冲突

git pull –rebase origin master

5、本地暂存区,最后把本地仓库项目提交到远程仓库

git commit -m ‘init’ 

git push -u origin master 本地仓库代码提交至远程仓库

6、克隆仓库

git clone https://gitee.com/xxxxx/xxx.git


 

7、克隆项目后,修改项目,查看修改情况,

git status

8、把修改后的文件加载到本地库中

git add .

9、提交修改的文件至本地库中

git commit -m ‘update’

10、将本地库提交至远程仓库

git push -u

发表评论

邮箱地址不会被公开。 必填项已用*标注