批改状态:合格
老师批语:

注册地址:https://gitee.com/
# 初始化,将目录(项目)->git可管理的项目git init# 提交到暂存区/索引区git add .# 提交到本地的版本库/仓库中git commit -m 'first commit'
# 自我介绍git config --global user.name "Jet"git config --global user.email "149964986@qq.com"# 设置远程仓库地址git remote add origin https://gitee.com/badjet/22.git# 仓库的自我介绍:将本地与远程仓库进行关联git push --set-upstream origin master# 以后,只要用以下指令直接提交git push
git push提交会出现 Everything up-to-date# 实际是因为没有提交到索引区 和 本地仓库,只需要再次使用:git add.git commit -m 'xxx'git push# 即可
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号