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

  • SEARCH
  • Home
  • 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 5990973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:19:14+00:00 2026-05-22T23:19:14+00:00

I want to make additions to a Git, so that the original author is

  • 0

I want to make additions to a Git, so that the original author is able to pull the changes. Normally I’d fork that on something like GitHub and the workflow is simple. However for external repos I did find nothing in the documentation.

Does anybody know how this would work for an external repository? Here’s what I tried:

% more .git/config 
[core]
    repositoryformatversion = 0
    filemode = true
    bare = false
    logallrefupdates = true
[remote "upstream"]
    fetch = +refs/heads/*:refs/remotes/origin/*
    url = git://wiesel.ece.utah.edu/gr-ieee802-15-4.git
[branch "master"]
    remote = origin
    merge = refs/heads/master
[remote "origin"]
    url = git@github.com:wishi/gr_802.15.4.git
    fetch = +refs/heads/*:refs/remotes/origin/*

upstream is supposed to be the remote repo, and master the GitHub thingy. So after a trivial first change:

% git commit -a -m "check"
[master 796f97a] check
 1 files changed, 1 insertions(+), 1 deletions(-)

% git push origin master
To git@github.com:wishi/gr_802.15.4.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:wishi/gr_802.15.4.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes before pushing again.  See the 'Note about
fast-forwards' section of 'git push --help' for details.

So that makes sense: merge the two branches:

% git merge upstream/master
fatal: 'upstream/master' does not point to a commit

And here I am…

  • 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. Editorial Team
    Editorial Team
    2026-05-22T23:19:15+00:00Added an answer on May 22, 2026 at 11:19 pm

    I don’t think it’s this complicated.

    1. Clone the original repository git clone git://wiesel.ece.utah.edu/gr-ieee802-15-4.git
    2. Create a new repository on github (say gr-ieee802-15-4 under the username wishi).
    3. Add the r/w URL as a remote into your local clone – git remote add github git@github.com:wishi/gr-ieee802-15-4.git.
    4. Push to your newly added remote git push github master

    Assuming that your ssh keys and stuff are set up correctly, this should work fine.

    The original author can add a read only URL for your github repository as a remote in his local clone, update that and pull in any changes which you’ve made. The “pull request” will have to be done via. email or an external issue tracker.

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

Sidebar

Related Questions

I have uploaded a app in production mode to linode. I want make changes
I am trying to make some small additions to some old java code that
I want to make a custom container, usable in MXML like: <local:MyContainer> <s:Label/> <s:Button/>
I want to make additions to a database, in this case massive amounts of
I want a way to list all git authors that Is only since a
Git is smart and will follow changes in history to make merging easier and
I have a class that has some properties. And I want something that calculates
I'm new to git for source control. I want to make sure I'm understanding
I know that normally there are no problems using Git from different OSs to
I want make datetimepicker in my project. Using jquery how it is possible? I

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.