Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
89 views
in Technique[技术] by (71.8m points)

python - How can I save my existing project to another existing github?

I'm trying to save my work from my One Drive directly into an existing Github using Visual Studio (team explorer). I have a python/Flask project located on my OneDrive in windows 10 at the following adress:

C:UsersmynameOneDrivewebsitemywebsite

The structure of the local project looks like this:

WebsitePerso

  • env
    -- flask
    -- Jinja

  • WebsitePerso
    -- static
    --- content
    ---- ootstrap
    --- scripts
    -- emplates
    ---- page.html
    -- views.py -- _init_.py -- README.md -- Requirements.txt -- unserver.py -- websiteperso.pyproj

  • Internetwebsite

  • Websiteperso.sln

Another project "websiteperso" is already created on github with a similar structure:

  • gitignore
  • gitattributes
  • gitignore
  • SiteWebPerso.pyproj
  • SiteWebPerso.pyproj.user
  • SiteWebPerso.sln
  • requirements.txt
  • runserver.py

I'm trying to use the team explorer and git options available for Visual Studio to push the first project into github by taking the second one position there. But I cannot see any "Synchronise" button in the project section on the Team Explorer panel.

How can I save this folder directly into Github?

question from:https://stackoverflow.com/questions/66054560/how-can-i-save-my-existing-project-to-another-existing-github

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...