From 64ab375d1fd1852ba174b45194dc8fe9afb7036b Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 31 Jul 2024 14:09:53 +0800 Subject: [PATCH] feat: update shell sessin --- Justfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Justfile b/Justfile index 1b364ea7..65498876 100644 --- a/Justfile +++ b/Justfile @@ -52,13 +52,13 @@ gc: [linux] [group('nix')] shell: - nix shell nixpkgs#just nixpkgs#nushell nixpkgs#colmena + nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell nixpkgs#colmena # Enter a shell session which has all the necessary tools for this flake [macos] [group('nix')] shell: - nix shell nixpkgs#just nixpkgs#nushell + nix shell nixpkgs#git nixpkgs#neovim nixpkgs#just nixpkgs#nushell [group('nix')] fmt: @@ -442,10 +442,15 @@ penvof pid: # Remove all reflog entries and prune unreachable objects [group('git')] -gitgc: +ggc: git reflog expire --expire-unreachable=now --all git gc --prune=now +# Amend the last commit without changing the commit message +[group('git')] +game: + git commit --amend -a --no-edit + # Delete all failed pods [group('k8s')] del-failed: