Skip to content

Instantly share code, notes, and snippets.

@syogaraj
syogaraj / zed-settings.json
Created April 18, 2025 11:26
Zed settings
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"assistant": {
@syogaraj
syogaraj / signoff a pushed commit.md
Created April 5, 2023 02:54
How to signoff a pushed commit
  1. Run git log to find the commit hash of the commit you want to sign off.

  2. Use the git rebase -i command to interactively rebase the commit. Replace COMMIT_HASH with the commit hash you identified:

    git rebase -i COMMIT_HASH^

    This will open an editor with a list of commits, starting from the one you specified.

  3. In the editor, change the keyword pick to edit for the commit you want to sign off, save the changes, and close the editor.