Skip to content
0:00 / 0:00

#git#gitrebase#github

Data Scientist’s Toolbox Project (JHU Coursera, Course 1)

Michael Galarnyk

12K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Stack Overflow and its sister sites.
  • Presented by Michael Galarnyk
  • Linked in the descriptionmGalarnyk/datasciencecoursera

Beginner. No background in the topic needed.

40K views9 years ago1 recommendation

Tools and practiceGit and version control

Michael Galarnyk demonstrates how to resolve common Git push errors when a local branch is behind the remote using rebase.

Github: github.com/mGalarnyk/datasciencecoursera Blog: medium.com/towards-data-science/review-course-1-the-data-sci… This video goes over how to fix possible git issues with the project

Why it's here

1 person recommends this

What people say. Recommended as a clear visual guide to resolving Git push rejection errors using git pull rebase.

Moments people linked to

Michael James Kali Galarnykon Stack Overflow • Recommends

On “Getting an error pushing to github - Updates were rejected because a pushed branch tip is behind its remote”

I am always a big fan of using git pull --rebase and then git push origin master . A couple of the places I have worked since a lot of places do not allow a push -f (especially places that use bitbucket). git pull --rebase git push origin master The rebase will apply your changes after those already to the remote (online website). This video literally goes over your exact issue and solves it using git pull --rebase link to this video
7View the answer