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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:05:28+00:00 2026-05-29T09:05:28+00:00

In my project we don’t like each developer to have the source code on

  • 0

In my project we don’t like each developer to have the source code on their client computer. They should just access it on their own branch folder on the server.

We need to create a repository on the server in this folder:

//172.30.12.35/d$/project

We have a branch named sam, and this developer branch folder is:

//172.30.12.35/d$/sam

We create the sam branch with:

git clone //172.30.12.35/d$/project //172.30.12.35/d$/sam

on push we got errors. like:

fatal: not a valid object name :HEAD

  • 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-29T09:05:28+00:00Added an answer on May 29, 2026 at 9:05 am

    It sounds like you want your developers to fork the main repository, not branch.

    Forking is a concept, very popular on GitHub, where developers don’t have write access to the main repository and instead do work on their own copy of it. The copy is created by cloning the repository, like in your example. The way they contribute to the main repository is by sending patches, or pull requests in GitHub’s terms, that are merged in main code base.

    Branching in Git does not involve separate copy of the repository, like it does for example in subversion, but rather is an entity within the repository itself. You can think of it as a label pointing to the latest of a series of successive commits.

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

Sidebar

Related Questions

My Delphi7 project will not run on my clients computer if i don't have
I don't want to submit projectname.project folder. Now, I use like that git add
The .NET Setup project seems to have a lot of options, but I don't
(By the way, I don't use Interface Builder) I have a little project consisting
I've included code in my project I don't understand. // where dImage is an
I am on a tight schedule with my project so don't have time to
I really would like to use 2010 if only since they appear to have
I have multiple .java files inside a folder (e.g temp/code/project) I want a batch
I have an appcelerator titanium project (you don't need to be familiar with the
I have a project that includes a shared library as source files. Some of

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.