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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:29:14+00:00 2026-06-11T08:29:14+00:00

I used a very bad log template and has issued git push for that

  • 0

I used a very bad log template and has issued git push for that commit. How can I modify or delete this log entry?

  • 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-11T08:29:16+00:00Added an answer on June 11, 2026 at 8:29 am

    The answer depends on whether or not other people have pulled your commit. If they have, then you’re stuck with the bad template (or at least getting every local pull of the commit corrected probably isn’t worth your time). If others haven’t pulled it…

    If it’s the most recent commit, you can use git commit --amend.

    If it’s a commit a certain number in the past (call it commit abcd1234), then you can use git rebase:

    git rebase -i abcd1234~1
    

    In the interactive screen, change pick to reword for that commit, and leave the rest the same. The rebase will continue to that commit, then pause, allowing you to reword the commit message.

    In either case, you’ll need to “force push” the rebased branch up:

    git push --force origin <branch> ;# using the `--force` flag
    git push origin +:<branch> ;# same as above, just different syntax
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a "very bad thing" that can happen &&= and ||= were used
I used once a very nice emacs function that set all my windows (emacs
I am very new to this and have used the Qt Designer to make
I've read a lot, including here on SO that suggests this is a very
I heard that using System.out.println for logging purposes is a very bad practice and
I've always been bad at apache and used very simple solutions. Right now I
My flex application has a very bad load time (approx 5 to 8 wasted
When rendering text into a bitmap, I find that text looks very bad when
I'm very bad with recursion, never used it before. I know the theory of
Ok, this might be a very noob question, but I find that PHP Documentation

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.