Last active 6 days ago

git_checkout_to_main.sh Raw
1#!/bin/bash
2git checkout $(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')
3