After git clone, cd into downloaded dir

This commit is contained in:
Alicia Sykes 2022-11-24 23:04:56 +00:00
parent 0f9fdaad2f
commit 46a4cb1fbb

View File

@ -124,6 +124,9 @@ function clone {
# Clone repo # Clone repo
git clone $REPO_URL $target; git clone $REPO_URL $target;
# cd into newly cloned directory
cd "$(basename "$_" .git)"
} }
# Sync fork against upstream repo # Sync fork against upstream repo