V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
Decent
V2EX  ›  Python

请教如何在 pycharm 把项目覆盖到已存在的 github repo?

  •  
  •   Decent · 2020-03-30 18:53:07 +08:00 · 1824 次点击
    这是一个创建于 1459 天前的主题,其中的信息可能已经有所发展或是发生改变。

    项目是 fork 别人的,当时写码没多想,直接就把 zip 文件整个下到本地用 pycharm 编辑,现在改好了想把项目传到自己 fork 的 repo 里,请教应该是什么样一个步骤?

    2 条回复    2020-03-31 11:37:58 +08:00
    LokiSharp
        1
    LokiSharp  
       2020-03-31 08:41:54 +08:00
    zip 是没有 .git 目录的。你可以 clone 下来,把你改好的代码覆盖过去然后 commit + push
    learningman
        2
    learningman  
       2020-03-31 11:37:58 +08:00
    也可以 git init 然后 set origin
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3357 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 11:22 · PVG 19:22 · LAX 04:22 · JFK 07:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.