git创建提交

(django_py3_1.11) [root@python zdemo]# git init
Initialized empty Git repository in /opt/HJL/ml_django/zdemo/.git/
(django_py3_1.11) [root@python zdemo]# git add .
(django_py3_1.11) [root@python zdemo]# git commit -m '1.创建子应用 python manager.py startapp 2.注册子应用 3. 创建视图函数  4.在总工程中urls配置子应用的路由 '
(django_py3_1.11) [root@python zdemo]# git status
# On branch master
nothing to commit, working directory clean



(django_py3_1.11) [root@python meiduo]# git push
warning: push.default is unset; its implicit value is changing in
Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)
(django_py3_1.11) [root@python meiduo]# git config --global push.default simple
(django_py3_1.11) [root@python meiduo]# git push
fatal: The current branch *** has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin ***

(django_py3_1.11) [root@python meiduo]# git push --set-upstream origin ***
Counting objects: 14, done.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (12/12), 3.04 KiB | 0 bytes/s, done.
Total 12 (delta 1), reused 0 (delta 0)
remote: Powered by GITEE.COM [GNK-3.8]
remote: Create a pull request for '***' on Gitee by visiting:
remote:     https://gitee.com/**************:master
To git@gitee.com:****/meiduo.git
 * [new branch]      *** -> ***
Branch *** set up to track remote branch *** from origin.

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值