Skip to content

Commit

Permalink
main branch is dev instead of :wmaster
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMF committed Mar 15, 2024
1 parent 91d6610 commit 0bb2e0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shells/0xMF/git.ksh
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function parse_git_branch_colour {

if [ -z "$br" ]; then
return
elif [ "$br" = "master" ]; then
elif [ "$br" = "master" ] || [ "$br" = "dev" ] || [ "$br" = "main" ]; then
echo "$BLUE($RED"$br"$BLUE $(parse_git_dirty)$BLUE)"
else
echo "$BLUE($YELLOW"$br"$BLUE $(parse_git_dirty)$BLUE)"
Expand Down
9 changes: 9 additions & 0 deletions tracker/gitrc.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
[branch "master"]
autoSetupRebase = never

[branch "main"]
autoSetupRebase = never

[branch "dev"]
autoSetupRebase = never

[pull]
rebase = true

Expand All @@ -64,3 +70,6 @@
[diff]
tool = less -FEqRSX
renameLimit = 1742

[init]
defaultBranch = dev

0 comments on commit 0bb2e0f

Please sign in to comment.