-
Copy&Paste the below in to your ~/.gitconfig
sym = "!f() { git symbolic-ref refs/heads/"$1" refs/heads/"$2";}; f"
-
Create alias branch
git sym ${aliasBranchName} ${branchName}
-
Check out branch
git checkout ${aliasBranchName}
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme