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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T04:05:09+00:00 2026-06-16T04:05:09+00:00

Is any good way to work around patchs with git and Java imports? I

  • 0

Is any good way to work around patchs with git and Java imports?

I have a remote computer (the one I use at work), working with a branch called bugX

Now I’m at home, and I want a “copy” of that branch to my local computer to keep working.

So what I’ve done was to do a pull of the working copy in my local computer, and then I made a patch with the diffs of bugX branch against master in my remote computer, and then I tried to apply that patch to my local computer on branch master

But the patch keeps failing because the imports are all messed up.

[*] I’m not allowed to push the remote branch and then pull it from here.

EDIT:

I tried to make another branch from master (in the remote computer), and tryed to apply the patch to that branch and also failed.

  • 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-06-16T04:05:11+00:00Added an answer on June 16, 2026 at 4:05 am

    If you have ssh access to your work computer from home, just add your work repo as a remote on your home pc and pull from there. And yes – you can pull from any git repo, “git servers” are not special in any way. Well they are bare which means they don’t have a working copy, but that is only relevant when pushing there.

    If you don’t have ssh access to your work computer and are not allowed to push the branch to the central repo, I would recommend setting up a repo somewhere else (e.g. private git repo) and pushing there from work. Or you could just hide your branch on the server by pushing it there, but not as a proper branch (not in refs/heads, but e.g. refs/hidden).

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

Sidebar

Related Questions

When using linq and you have c.Sort() Is there any good inline way of
Anyone have any ideas on a good way to model the following scenario in
do you have any good suggestions how to backup remote php site and mysql,
Is there any good way of truncating text with plain HTML and CSS, so
DOes anyone have any good information with regards to when to log, I was
I use Linux as primary operating system and I also have to work on
What would be a good way (along with any pros and cons) of initializing
I have been searching around the web all day for the best way to
I am trying to work out a good way to run a staging server
I'm using Spring 3.x, Java 6. I have an @Around aspect with the following

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.