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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:58:01+00:00 2026-06-14T19:58:01+00:00

I have a web application template created in Visual Studio 2012 using GIT for

  • 0

I have a web application template created in Visual Studio 2012 using GIT for source control, but only on my local machine. I am now ready to use the template for deployments.

I don’t want to simply create a branch for deployments as these will never be merged back into the master. Instead, I have cloned the repository for the template into a new directory.

I notice that for this second directory, Remote is set to “origin” and the URL points to the original master. I would like for this to be pushed to its own independent repository, but I have not figured out how to set this up. Also, I thought that each clone of a repository created another repository, but if this is the case I do not see it and I do not know how to specify it as the repository to be pushed to.

  • 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-14T19:58:02+00:00Added an answer on June 14, 2026 at 7:58 pm

    From what I understand, you want to create a separate local repository that’s independent from your existing one.

    To do that, you can just create a new directory, navigate to that empty directory in your console and then create the new repository by executing git init. After the repository has been created, copy all the files you need into the new folder. Make sure that you don’t copy the .git directory, though. You can then add and commit all the files in your new directory by running git add * and git commit -m "Initial commit". The commit message can be modified of course.

    You should now have a separate repository that you can commit changes to without affecting the original one.

    Edit: When using TortoiseGit, instead of manually running the commands in the console, you can create a new repository by right-clicking the newly created folder and selecting “Git Create Repository Here“. After copying the files to that new repository, you can do the initial commit by right-clicking the directory again and selecting “Git commit -> ‘master’…” and following the TortoiseGit commit dialog.

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

Sidebar

Related Questions

I have created a sample project using ASP.NET MVC 3 Web Application (Razor) template.
I am new to Vaadin. I have created template for my web application in
I have created web-application using Joomla 2.5. In that I have used Joomla user
I created a brand new project using the default Web Application template and I
How to call WebService (using AJAX) if I created ASP.NET Web Application template. Every
We have a ASP.Net web application running in Visual Studio 2010 that is targeting
I have created a WCF webservice using WCF Service Application template in VS 2008.
I have a web application where the masterPage/template contains some static HTML that never
I have web application written in java using Eclipse. It has just one servlet
In a web application, I am generating a spreadsheet XML using an XSL template

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.