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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:26:12+00:00 2026-05-16T10:26:12+00:00

Before I started using Git as my SCM, I would throughly test the code

  • 0

Before I started using Git as my SCM, I would “throughly” test the code for stability then I’d just copy the working directory and rename it to something like (date)project_name. Then if I messed up somewhere and couldn’t dig myself out I would just start from the last stable directory. Then I heard about Git.

I want to know if I’m using Git correctly so far. This is what I’ve been doing:

  1. write some code…

  2. git add . to add all the changed files to the stage

  3. git status to check if those changed files are ready to be committed

  4. git commit to commit the latest changes and write a commit message

  5. repeat

So far this is all I’ve been doing. For simple backup purposes and for the ability to revert back to a “previous stability” is this enough knowledge of Git? If not, what else should I know?

  • 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-16T10:26:13+00:00Added an answer on May 16, 2026 at 10:26 am

    If all you want to do is be able to reset to an old commit when something goes wrong, then yes, that’s it. Although you can combine all the git steps into one with:

    git commit -a
    

    (which commits all changed tracked files)


    I would look into branching and tagging if you have time, but they’re not strictly required for what you’re doing, they just tend to make life easier

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

Sidebar

Ask A Question

Stats

  • Questions 529k
  • Answers 529k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You may be interested in checking out the following presentation:… May 16, 2026 at 11:10 pm
  • Editorial Team
    Editorial Team added an answer This kind of mapping is possible, but not very convenient… May 16, 2026 at 11:10 pm
  • Editorial Team
    Editorial Team added an answer Yes that reasoning is valid. Put it on the right… May 16, 2026 at 11:10 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm trying to get started using git, but I'm having some troubles right away.
I use git as my primary version control system, and have recently started using
I'm reading about using git as an svn client here: http://learn.github.com/p/git-svn.html That page suggests
I've recently started working on a project that uses bazaar. I'm attempting to find
I've recently started work on developing a site using Magento. All of my files
Our company is currently using a simple trunk/release/hotfixes branching model and would like advice
I'm using egg (emacs got git) as git interface in emacs. Whenever I try
I'm currently looking to convert an existing SVN repository to git, and then to
Having recently started using cryptography in my application, I find myself puzzled by the
I recently started using Mercurial and like the way I have VCS protection for

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.