update default branch names
This commit is contained in:
@ -6,7 +6,7 @@ log2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C
|
||||
|
||||
# Aliases for a Phabricator inspired workflow
|
||||
# 1. Create new feature branch
|
||||
feature = "!f(){ b=$1; git checkout master; git pull; git checkout -b "$b" master; };f"
|
||||
feature = "!f(){ b=$1; git checkout main; git pull; git checkout -b "$b" main; };f"
|
||||
|
||||
# 2. Working with code
|
||||
wip = !"git add -A; git commit -m '[WIP]'"
|
||||
|
Reference in New Issue
Block a user