mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Actions to take after repository migration is complete (#8394)
* Change project URL from robbyrussell to ohmyzsh org * Update git remote to use ohmyzsh org repository
This commit is contained in:
parent
bb10c979ef
commit
b80b1a1e8b
21 changed files with 52 additions and 46 deletions
|
|
@ -31,6 +31,12 @@ git config fsck.zeroPaddedFilemode ignore
|
|||
git config fetch.fsck.zeroPaddedFilemode ignore
|
||||
git config receive.fsck.zeroPaddedFilemode ignore
|
||||
|
||||
# Update upstream remote to ohmyzsh org
|
||||
remote=$(git remote -v | awk '/https:\/\/github\.com\/robbyrussell\/oh-my-zsh\.git/{ print $1; exit }')
|
||||
if [[ -n "$remote" ]]; then
|
||||
git remote set-url "$remote" "https://github.com/ohmyzsh/ohmyzsh.git"
|
||||
fi
|
||||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Oh My Zsh"
|
||||
if git pull --rebase --stat origin master
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue