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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:51:51+00:00 2026-06-15T13:51:51+00:00

In my new project I with my team will use Git. We want to

  • 0

In my new project I with my team will use Git. We want to have our own remote repository. Form this remote repository we will push code further (we are not the only team working in this project, the project already exists and there exists git repository for that). Unfortunatley we are not jet familar with git. I can make a clone of already existing repository onto remote location. After that the rest of the team will make a copy from the remote location to theirs own computers. Problem is that remote repository should be ‘bare’ (I’m not sure jet what it means) to allow pushing onto itself. According to best answer here:

Git push error '[remote rejected] master -> master (branch is currently checked out)'

I have to ‘(…) delete all the files except .git in that folder.’ I don’t want to loose any data, the project already exists. Besides I not sure how it will working to pushing changes further.

In the same topic there is a nice second answer, which I can use by: creating additional branch on remote repository, but I do not like the idea of creating additional unnecessary existence (new branch).

How all of those repositories should be set? I whould appreciate any explanation with of the solution – as I have written at the beggining – I’m not jet familar with 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-06-15T13:51:52+00:00Added an answer on June 15, 2026 at 1:51 pm

    The first question would be why you want an own repository for your team. I guess that the repository ‘for all’ is the one used for live deployments. So the easiest way for you is to use this repo and pull from it. Create a new branch for your team called e.g. dev and you can create further branches for developing parts of your project.
    For instance if someone of your team has to develop a guestbook he would check out the dev branch you created for your team. Afterwards he would create a new branch called ‘guestbook’ e.g. The he has to checkout the branch and start developing the app. If it’s finished you an merge the branch ‘guestbook’ into your ‘dev’ branch to see the results.
    In case your dev branch is working well you can merge it into the masterbranch of the main repository to have the feature live.

    If you really want your own repository on a different server you could simply create a new git repository there with git init –bare. Clone or update(fetch/pull) the project to your local computer. Change the remote origin in the .git/config file to your new server and push your project in there.

    Hope it helped – but if I were you I’d stick to the branches. Some day you might wanna put the work of your team back into the original project and you will have way more work to accomplish that if you develop on a separate repository on the same project.

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

Sidebar

Related Questions

My team plan to start a new project this June. This application tend to
I am writing a script which will add a new project in the repository,
Often times a developer on my team will create a new Visual Studio project
I've moved to a new project team and while going over the codebase, found
When trying to create a new team project with any of the default project
I am in the process of creating a new team project by executing the
We are starting a new java web-project with Cassandra as the database. The team
I will start new project which is based on ASP.NET MVC 3 using C#
Im unable to start new project in a virtualenv. This is what i did
Hi I'm starting a new web development project with my team using Hibernate and

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.