Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 92147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:08:29+00:00 2026-05-10T23:08:29+00:00

I am developing some school grading software and decided to use Github to host

  • 0

I am developing some school grading software and decided to use Github to host the project. After building some code on my Ubuntu box I pushed it to Github and then cloned it down to my MacBook Pro. After editing the code on the MBP I pushed it back to Github. The next morning I tried to update my repo on the Ubuntu box with a git pull and it gave me all kinds of trouble.

Whats the best way to work in this situation? I don’t want to fork my own repo and I don’t really want to send myself emails or pull requests. Why can’t I just treat Github like a master and push/pull from it onto all of my personal repos on different computers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:08:30+00:00Added an answer on May 10, 2026 at 11:08 pm

    I’ll assume your problem was that the machine on which you first created the repo crapped out when you tried to issue the git pull command.

    When you clone an existing git repository (like you did on your 2nd machine, the MacBook Pro), you’re automatically set up to so your git pull commands will automatically merge the remote with your local changes.

    However, when you initially create a repo and then share it on a remote repository, you have to issue a few commands to make things as automated as a on cloned repo.

    # GitHub gives you that instruction, you've already done that # git remote add origin git@github.com:user_name/repo_name.git  # GitHub doesn't specify the following instructions git config branch.master.remote origin git config branch.master.merge refs/heads/master 

    These last few instructions configure git so future git pull‘s from this repo will merge all remote changes automatically.

    The following is a bit of shameless self-promotion. If you use Ruby, I have created a Ruby-based tool that lets you deal with all these kinds of things with git remote branches. The tool is called, unsurprisingly, git_remote_branch 🙂

    If you don’t use Ruby, my tool is probably gonna be too much of a hassle to install. What you can do is look at an old post on my blog, where most of the stuff grb can do for you was explicitly shown. Whip out your git notes file 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 63k
  • Answers 63k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer .deb definitely does; the sun-java* packages from Debian non-free have… May 11, 2026 at 10:34 am
  • added an answer The following should be helpful to you Core J2EE Patterns… May 11, 2026 at 10:34 am
  • added an answer Imagine that you're eating candy out of a bowl. You… May 11, 2026 at 10:34 am

Related Questions

I am developing some school grading software and decided to use Github to host
I am developing some client side Javascript that is using some JSON web services
I am developing an OpenGL application and I am seeing some strange things happen.
I am developing a framework, and some of the objects have reaaally long names.
I am developing an application, and have URLs in the format www.example.com/some_url/some_parameter/some_keyword . I
I am developing a website using CodeIgniter and PHP. Some of my friends suggest
I am developing a Java based desktop application. There are some data generated from
I am developing a small windows app, but have some trouble deciding whether to
In the application I am developing I have to store the time some particular
I am thinking about buying an iPod touch to make some money on developing

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.