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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:45:22+00:00 2026-06-06T18:45:22+00:00

Actually I was not sure so, I followed git amend approach everytime. Is it

  • 0

Actually I was not sure so, I followed git amend approach everytime. Is it good practice ? If not Why git amend is not good ?

  • 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-06T18:45:24+00:00Added an answer on June 6, 2026 at 6:45 pm

    No, using git commit --amend is not a good practice “every time”. It merges your current changes with the previous commit’s changes. You’ll wind up with a single massive commit and no commit history what so ever. You should be making lots of small, granular changes so that you can actually track the evolution of features and introduction of bugs.

    Using git reset --soft HEAD^ is more or less identical in effect: You’re moving the branch pointer to the previous commit but leaving the working directory state unchanged, then making a single large commit with all the changes you’ve introduced.

    Using either command every time you commit will leave you with a single commit containing your entire project to date. There is absolutely no good reason to do this, and it is the completely wrong way of using version control.

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

Sidebar

Related Questions

I am not sure if what I am going to ask is actually an
I am not sure why, but the image actually shows but it has a
Does java has library exception class which means actually not an error, but good
I'm not sure if I actually need this right now but if my app
I'm not actually sure what they are asking me to do. This is the
I am actually not so sure if it is possible but It would be
Actually, it's gotten so messy that I'm not even sure curl is the culprit.
I'm actually not too sure what I'm looking for can be done but I'd
Actually not sure on the terminology of what I'm trying to do. I have
I am actually not sure if a webservice would be the correct way to

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.