Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I "unmark" a commit in gitk?

Tags:

git

gitk

I mis-click "mark this commit" in gitk.

I'm glad it happened, as I'd never looked at or thought about the features it is associated with. But now that I've seen them, I'd like them to go back to being greyed out.

So I want to "unmark" the commit?

How do I do that?

like image 480
Brondahl Avatar asked Dec 03 '14 11:12

Brondahl


People also ask

How do I commit in GITK?

How do I add a Git commit message? To add a Git commit message to your commit, you will use the git commit command followed by the -m flag and then your message in quotes.

What is GITK command?

Gitk is a graphical repository browser. It was the first of its kind. It can be thought of as a GUI wrapper for git log . It is useful for exploring and visualizing the history of a repository. It's written in tcl/tk which makes it portable across operating systems.

How do I contribute to unmark on GitHub?

Another major way you can contribute is to report any issues you find with Unmark on Github and being as detailed as possible about the issue you're having. Another way is to contribute your own code via Pull Requests. Here are some notes on how to do that. Create your own branch of the trunk branch git checkout -b your-branch-name

When to mark a change as private in Git?

Even after merging the change, the review can be kept private. You can mark a change as private when you first push the commit, or while a change is under review. Verify that you understand the steps in Pushing a Change to push a change to the remote repository.

How do I mark or unmark a change as private?

The Change screen opens. From the More menu, select Mark private. To unmark the change as private, from the More menu, select Unmark private.

How do I Mark a change as private in Gerrit?

From the terminal window, mark the change as private by adding %private at the end of a git push command: When you are ready for other contributors to review the change, you can unmark the change from the command line: Navigate to the Gerrit site for your project.


1 Answers

The option "mark this commit" (introduced 5 years ago) is only to allow the options:

  • Return to mark
  • Find descendent of this and mark
  • Compare with marked commit

(As seen in this answer)

You cannot remove a mark without, as commented by gpullen, leaving the session.

The patch does mention:

There is at most one marked commit at any time, and it is indicated by a box drawn around the headline.

like image 124
VonC Avatar answered Oct 07 '22 06:10

VonC