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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:27:43+00:00 2026-06-07T09:27:43+00:00

I work at a company which uses Git for our version control. We’re using

  • 0

I work at a company which uses Git for our version control. We’re using a hosted repo service (Beanstalk) as our internal “public” (by that I mean accessible to the whole dev team) repo. I have two computers that I normally work on for writing code. I like using some of the history rewriting features of Git, specifically rebasing and amending commits, but I really don’t like using them after I’ve pushed something to a published branch. Yet, I need to be able to share code between these two computers, and preferably no one else.

What I’d like is an easy way to share my code between the two computers, without having to share it with everyone else. I have considered Airdrop (both computers are Macs), and ssh. What would be the suggested way of achieving this, while taking advantage of git’s distributed nature?

  • 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-07T09:27:47+00:00Added an answer on June 7, 2026 at 9:27 am

    You can push, fetch and pull between the machines freely assuming you have ssh access between them:

    git push computer2:projects/prog HEAD:tmp
    

    or, if you are on computer2:

    git pull computer1:projects/prog HEAD
    

    or

    git fetch computer1:prj/prog branch1:t1
    git fetch computer1:prj/prog branch2:t2
    git merge t1 t2
    

    or

    git fetch computer1:prj/prog branch1 branch2 branch3
    git merge FETCH_HEAD
    

    and so on… See git help fetch for more examples.

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

Sidebar

Related Questions

My company uses git internally and we publish some of our work as an
Our company has a product which relies on local database to work (it allows
I'm working on a project management app, where every company (which uses our app)
The company I work for currently uses Go To Meeting to share our desktops
I am new to use svn and the company in which I work uses
The company I work for has recently installed a Apache staging server which uses
I'm developing a web application for a company which I work for. My team
The company for which I work for has built a large ASP.NET MVC application
the company I work for has a web-based user interface which paying clients log
Our company does work environment surveys, and these surveys are filled in online. All

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.