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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:44:46+00:00 2026-06-01T16:44:46+00:00

I have been developing a web application and using git for the project. Until

  • 0

I have been developing a web application and using git for the project. Until now I have been running it on my local machine. Now that I want to check it out on my hosted web server I thought of creating a tag. So used git tag -a v0.1 -m 'version0.1' command for it. Command git tag lists the tag that I have just created. Now the question is how do I have(checkout) this tag on my web server?

My hosted web server understands git commands. I would like to know a command or procedure to have this tag on my server. There wont be any development going on the server.

  • 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-01T16:44:48+00:00Added an answer on June 1, 2026 at 4:44 pm

    I figured out a simple way. There’s no need to define a new remote.

    • Step 1: On local machine (after committing your code) simply do:
        $ git tag -a vx.x.x -m "version x.x.x"
        $ git push --tags
    
    • Step 2: Then on hosted server, navigate to the folder where you have to checkout then do:
        $ git clone git@github.com:username/proj.git
        $ cd proj
        $ git checkout vx.x.x
    

    Now, if you have to create another tag for next version let’s say x.x.y, then repeat Step 1 above replacing x.x.x with x.x.y and replace Step 2 with following.

    • Step 2: On hosted server do the following.
        $ cd proj
        $ git fetch --tags
        $ git checkout vx.x.y
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, I have been thinking of developing a web application using the play framework
I have been developing a Silverlight application using WCF. The problem is that sometimes
I am developing a stock/e-commerce web application. We have been using a version of
I have been developing simple web services and clients using JBoss but now I
I've been developing web applications for 2 years now, and have been into simpler
I have been developing a web application with asp.net and I have smoe question
I have been developing a web application for about six months with no framework
I'm developing a web application using .net/c#/jQuery. I want to develop an AJAX function
I have finished developing the core of a web application I have been working
So I have been developing a web application, and I have implemented the HTML5

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.