GIT管理指令

查看当前远程地址:

% git remote -v

移除当前地址:

% git remote remove origin

更换地址:

% git remote add origin https://gitee.com/wzqgit/yuanhou.git

在新分支上添加您需要提交的内容并提交:

% git add .

% git commit -m "添加大文件或其他更改"

查看当前分支:

% git branch

当前分支是否有内容提交

% git status

强制推送分支到远程仓库:

% git push -u origin 1.0.0.2 --force

% git push origin master --force

尝试增加 http.postBuffer 大小(例如设置为 500 MB):500x1024x1024

% git config --global http.postBuffer 524288000

相关推荐
smachao8 小时前
Redis Desktop Manager(Redis可视化工具)安装及使用详细教程
redis·git·bootstrap
szcsun59 小时前
git的常用命令
git
jian110589 小时前
android studio 解决git用户名和用户邮箱不一致的问题
git
jian1105810 小时前
Mac git配置账号和邮箱,可以修改
git·macos
笨笨饿12 小时前
博客目录框架
c语言·开发语言·arm开发·git·嵌入式硬件·神经网络·编辑器
白玉cfc12 小时前
git协作开发
git·团队开发·远程工作
Rabbit_QL13 小时前
【CI/CD】02_一次 git push 后发生了什么?CI 是怎么工作的
git·ci/cd
不会写DN14 小时前
Git 开发中最常用的命令与场景
大数据·git·elasticsearch
张二娃同学15 小时前
基于 Python 与 Tkinter 的猜数字游戏设计与实现:支持玩家猜数与 AI 反向推理
开发语言·git·python·游戏·开源
原来是猿15 小时前
Git【企业级开发模型】
git