Gitea Bash常用命令
Gitea Bash常用命令
克隆一个已存在的 Gitea 仓库:
git clone http://<your_gitea_server>/<your_username>/<repository_name>.git
添加一个 Gitea 仓库远程地址:
git remote add origin http://<your_gitea_server>/<your_username>/<repository_name>.git
推送本地代码到 Gitea 仓库:
git push -u origin master
拉取 Gitea 仓库最新代码到本地:
git pull origin master
查看 Gitea 仓库状态:
git status
版权声明:
本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自
A2PX空间!
喜欢就支持一下吧