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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T05:47:38+00:00 2026-05-18T05:47:38+00:00

We use SVN at work, but for my personal projects I decided to use

  • 0

We use SVN at work, but for my personal projects I decided to use Git. So I installed Git yesterday, and I wonder what is the revision number equivalent in Git.

Let’s say we work on version 3.0.8 and every bug fix has its own revision number we can use when we talk about this bug fix. So if I tag the code in Git to 3.0.8 what then I can use as a revision number or some other more detailed kind of identification? I find the hash not so user friendly for humans.

  • 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-18T05:47:39+00:00Added an answer on May 18, 2026 at 5:47 am

    Good or bad news for you, that hash IS the revision number. I also had trouble with this when I made the switch from SVN to git.

    You can use “tagging” in git to tag a certain revision as the “release” for a specific version, making it easy to refer to that revision. Check out this blog post.

    The key thing to understand is that git cannot have revision numbers – think about the decentralized nature. If users A and B are both committing to their local repositories, how can git reasonably assign a sequential revision number? A has no knowledge of B before they push/pull each other’s changes.

    Another thing to look at is simplified branching for bugfix branches:

    Start with a release: 3.0.8. Then, after that release, do this:

    git branch bugfixes308
    

    This will create a branch for bugfixes. Checkout the branch:

    git checkout bugfixes308
    

    Now make any bugfix changes you want.

    git commit -a
    

    Commit them, and switch back to the master branch:

    git checkout master
    

    Then pull in those changes from the other branch:

    git merge bugfixes308
    

    That way, you have a separate release-specific bugfix branch, but you’re still pulling the bugfix changes into your main dev trunk.

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

Sidebar

Related Questions

I am starting to read about git-svn now to use it with a project
I've been using bzr for personal programming projects across my two computers for some
I want to use the Eclipse plugin Subclipse on Snow Leopard. I installed Eclipse
I just started working with Drupal for a while and decided to use this
Is there a way to make an svn-checkout from a git repository? The problem
I remember 2 events in SVN history: TortoiseSVN got usable and VisualSVN got usable.
We are planning on using Red Gate SQL Source Control , but have not
I've been designing and developing websites for a number of years now, however, whenever
I'm the sole developer at my job and we currently do not have any

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.