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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:49:03+00:00 2026-05-27T02:49:03+00:00

I keep my website in a Git repository. It’s just a small personal site

  • 0

I keep my website in a Git repository. It’s just a small personal site so there’s no fancy automation; I’ll make a bunch of changes and then periodically push the site to the server using jekyll-s3. I do like to keep track of which revisions have been uploaded and which haven’t, and right now I have a branch called pushed into which I merge master each time I upload to the server. (If any other branches are involved I merge everything into master before pushing, so that only master ever gets merged into pushed.)

This works well enough, but it seems weird to me to be using an “entire” branch when all I care about is marking one commit at a time as “this has been pushed”. (Yes, I know that branches are considered very lightweight in Git.) Terminology-wise it seems like I want to “tag” the latest commit each time I upload to the server—except that in Git, a tag is supposed to be an immutable reference to one specific commit. Is keeping a branch called pushed the most idiomatic way to do what I’m trying to do, or is there a better way?

  • 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-27T02:49:04+00:00Added an answer on May 27, 2026 at 2:49 am

    If I understood correctly, you want to have a reference to your last update on the website, right? Well, branching is in fact what they do, but not with the naming you have done.

    As you may know, there are two major ways for development with version control systems:

    • master is development branch. In this case, the stable releases are certain tags.
    • master is the stable branch. In this case, you have other branches for development. When you want to add your feature to master, you merge master with your own branch and test it. If it worked, you merge the results with master and push it to your website.

    What you are talking about is in fact the second method, where you have a stable branch named pushed and you keep it stable (uploaded, working, whatever property you want) at all times.

    So, yeah what you do already exists, however more idiomatically, they keep master as that stable branch rather than some other branch (for example named pushed). It’s the same concept though.

    Edit: What I’m saying is that, whenever you want to upload your changes to your website, merge whatever you have in master (or pushed if you like), and then upload it. This way, the last commit of master (or pushed) is the last upload of the website.

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

Sidebar

Related Questions

I have to deploy a website asap and then incrementally keep on adding some
The question might make you smile but how does this website keep a trace
Is there a way to clone a Wordpress website but keep all the plugin
I want to keep my website/s in version control (Subversion specifically) and use svn
I have a website that I regularly update the code to. I keep it
I am teaching my friend how to make websites. I would like to keep
I need to embed chat in my website. There are many third party chat
I have a website where I want keep track of the Statistics about the
I'm starting a website and want to keep my product from being stolen. I'm
How would I keep track of number of current sessions on my website?

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.