Skip to content

Commit

Permalink
Merge pull request #227 from himkt/git-subcommand
Browse files Browse the repository at this point in the history
feat: add `git remove-merged`
  • Loading branch information
himkt authored Feb 2, 2024
2 parents 3655659 + 3dbaa86 commit 4d4d9e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ cargo_clean:
rm -rf $(HOME)/.cargo/config.toml

git_clean:
rm -rf $(HOME)/.config/git/config
rm -rf $(HOME)/.config/git/ignore

nvim_clean:
Expand Down
6 changes: 5 additions & 1 deletion git/bin/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash

mkdir -p $HOME/.config/git
rm -f $HOME/.config/git/ignore

rm -rf $HOME/.config/git/config
rm -rf $HOME/.config/git/ignore

ln -s $HOME/dotfiles/git/config.d/config $HOME/.config/git/config
ln -s $HOME/dotfiles/git/config.d/ignore $HOME/.config/git/ignore
9 changes: 9 additions & 0 deletions git/config.d/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[user]
email = [email protected]
name = himkt

[pull]
rebase = false

[alias]
remove-merged = !remove-merged-branches

0 comments on commit 4d4d9e2

Please sign in to comment.