Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

2K
Views
How do I connect my python spyder with github?

Is there any way to connect python spyder with github?

I manage my R scripts via github, because R provides with interfaces that enables users to commit, pull and push, but I wonder if there is same(or similar) system in python(x,y) spyder.

I want to manage my python scripts with github, not just locally editing my codes and manually write change logs on my hand every time...

over 4 years ago · Santiago Trujillo
3 answers
Answer question

0

A command line git has been integrated into Spyder.

https://github.com/spyder-ide/spyder/issues/6105

First right click the tab corresponding to any file in your repository and click "set console working directory."

Then go to the Ipython window in Spyder and simply type your git commands (assuming Git is installed and its paths are configured properly) but append a "!" to the beginning of your command:

!git add "file.py"
!git commit -m "My commit"
!git push origin master
over 4 years ago · Santiago Trujillo Report

0

(Spyder developer here) I'm sorry but right now (February 2017) there's no integration between Spyder and Git/Github.

Besides, there are no concrete plans to add this support. We could it in a year or year and a half.

Related issue on github: https://github.com/spyder-ide/spyder/issues/816

over 4 years ago · Santiago Trujillo Report

0

+1 @betontalpfa. For me, I wanted to put a local file to an existing Github.com repository through Spyder ipython console.

So, instead of clicking "set console working directory", I just did the following in ipython console within Spyder (I'm on Mac OSX Mojave, and have installed Xcode already from the Appstore):

  • Init working directory as a git directory

    !git init
    
  • Pull existing repository to merge with files you want to push

    !git remote add origin https://github.com/myUserName/sample.git
    
  • Add the file to local git

    !git add temp.py
    
  • Push the file to github.com

    !git push -u origin master
    
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!