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

The Archive Base Latest Questions

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

I want to set up an Eclipse project on my Mac and maintain the

  • 0

I want to set up an Eclipse project on my Mac and maintain the Git server on my NAS drive. I also want to hook up the Git server to Mobi to take periodic backups.

Basically, when I check in a change on my Mac local drive, I want it to go to the NAS drive.

I see that I need to run git init on my local Mac (Lion) to tell Git that the project is a working Git repository.

But how do I tell it that the Git server is on the NAS drive? And how do I add my initial code into Git? (It keeps telling me no files have been changed)

I have read the Git_book.pdf and some tutorials, but they don’t seem to go back to these fundamentals. I have been using SVN for the past few years, and before that CVS for many moons. Now I am trying to set this up and concurrently grok Git, and having some trouble. (Not using GitHub)

  • 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-29T19:10:35+00:00Added an answer on May 29, 2026 at 7:10 pm

    There is no git server. But you may have several remote repositories if you want. Here’s how you do it:

    First you set up your development project by creating a git repo using git init. Then code away and commit changesets to this repo like you would normally do. Now the big difference from SVN here is that when you commit, you commit to the local repo, not some remote repo on another machine.

    If you want you can pack up this project including repo, move it to another machine and continue like nothing happened. Just tar it up and off you go. However, another and better way of creating a copy of the repo is to clone it into another location. This could be another location on the same machine, or on another machine if you like. You use the git clone command for this.

    So to set up a bare repo on another machine we can simply do:

    git clone --bare my_nice_project myuser@remote_machine:/path/to/remote/repo.git
    

    This creates a “bare” clone of the repo at this remote location. A bare repo, just means it only contains the repo itself, not a working copy where a revision is checked out.

    Now you need to tell your original project that there exists a remote repo too, like this:

    git remote add origin myuser@remote_machine:/path/to/remote/repo.git
    

    Here “origin” is just a name, you can select another one. Now you can git fetch any changes that may occur at the remote repo into your local repo, git push changes that you do in your local repo into the remote repo, and a whole lot of other nice things. You can create as many remote repos as you like, have as many development machines as you like, and cooperate with as many people as you like. They can all have their own repo, and you can sync commits between them as you like.

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

Sidebar

Related Questions

I have set up a java project in Eclipse and I want to put
I want to set up a new Eclipse project with a directory structure as
I want to set up a Subversion server installation on Windows Server 2003 64-bit
I am using Eclipse PDT and Subclipse. I want to set all of the
I am trying to set up git on my Debian server. However, I'm going
I have set up a dynamic web project in Eclipse with a Tomcat 5.5
I am working on an Android project using Eclipse. I want to change the
I have a java project written using eclipse ide and I want to run
Eclipse Helios: 40+ project working set, using maven (mvn-eclipse plugin) to generate eclipse project
I want to create a struts 2 project in eclipse. I have downloaded the

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.