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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:32:48+00:00 2026-06-11T12:32:48+00:00

When handling pull requests on GitHub, often I want to merge in commits from

  • 0

When handling pull requests on GitHub, often I want to merge in commits from a branch with no changes. However, I would like to commit something just after the merge. I don’t want to git commit --amend because that would change the commit I’m bringing in, so tracking the change gets more complicated.

Is there a way to git commit nothing but a message? The reason is because I might want to mention something in the Pull Request — a URL pointing to a test case, or mention some other pull request so I can use a commit hook like Closes #123 in addition to the original pull request.

  • 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-11T12:32:50+00:00Added an answer on June 11, 2026 at 12:32 pm

    To commit an empty commit, use git commit --allow-empty.

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

Sidebar

Related Questions

I have a public repository on github that I'm having trouble handling pull requests
Exception Handling in java based we services JAX-WS. I want to create user defined
In a quest for handling events (like mouse moves and clicks) not by subclassing,
There are plugins for handling history and bookmarking like: http://plugins.jquery.com/project/history . Somehow it doesn't
i have an open source ruby project on github, where my master branch represents
So I'm working with PostSharp to pull out boilerplate logging/exception handling code so that
I have a small issue. I am trying to pull some data from my
I'm going to need to push and pull files from a SharePoint site that
Is it possible to pull information from a website and display it in an
Error Handling with files in PHP $path = '/home/test/files/test.csv'; fopen($path, 'w') Here I want

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.