(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.

 

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐