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 6941239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:51:36+00:00 2026-05-27T12:51:36+00:00

I’m supposed to work on my client’s project on GitHub, where the changes would

  • 0

I’m supposed to work on my client’s project on GitHub, where the changes would be on his repository. I tried to follow the fork example, but could only get the changes to go to my account repository?

In the example on GitHub, to fork a repo, they create a remote called upstream to point to the original project. I can get the changes from it by

get fetch upstream
git merge upstream/master

I was able to upload the changes into my repo by

git push –u  origin

which copied my changes to my account.

I tried

git push –u upstream

To push my changes on the original account. I got the following error

You can’t push to git://github.com.octocat/SpoonKnife.git
use git@github.comoctocat/Spoon0-Knife.git

  • 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-27T12:51:37+00:00Added an answer on May 27, 2026 at 12:51 pm

    Basically, in order to collaborate with your client, you’ve got two main options:

    • Send your client a pull request (more info on this in this GitHub help item). This allows your client to review, discuss and/or request some changes to your proposal before merging it.
    • Request from your client to be added as a committer to their project. This would allow you to directly push your commits to their repository, without the need for a fork/cloned repository on your side.

    As a side note, Spoon-Knife.git is one of GitHub’s read-only repository (used for demonstration purpose) and you will not be able to commit to that (unless your client is GitHub). Thus, your client’s upstream git remote should point to a different repository

    Here are the steps (to be followed after you forked and cloned the repository to your local disk):

    1. Remove the upstream reference: git remote rm upstream
    2. Add in your client’s info – git remote add upstream git@xxxxxx
    3. Push your changes – git push -u upstream master . git push -u will set the HEAD of the remote repository.
    4. Same if you want to pull – git pull upstream master

    If you prefer the name origin replace upstream with origin, but still follow step 1 to remove the reference to Spoon-Knife.git. Then in step 2 – git remote add origin git@xxxx.

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

Sidebar

Related Questions

I work in a company, a client ordered an internal iOS app for his
How is data binding in C# WinForms supposed to work when you have a
I ask this because at work I am supposed to develop a web-application that
How are you supposed to dispose of a BitmapSource ? // this wont work
We use Visual Source Safe 6.0 at work and VB6 is supposed to integrate
Why does this fail, it's supposed to be simple and work ? fisier.seekg(0, ios::end);
Suppose that I've queued a work item in a ThreadPool , but the work
I've tried to understand this, and searched SO for similar questions, but I still
So I'm working on a project to interface a C# client with an existing
I am wondering how is the hidden field named MAX_FILE_SIZE supposed to work? <form

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.