Skip to content

Instantly share code, notes, and snippets.

View x16472's full-sized avatar
🎯
Focusing

Phoenix x16472

🎯
Focusing
View GitHub Profile
@kikislater
kikislater / Manjaro gpg key errors
Last active January 21, 2024 10:09
Manjaro gpg error
sudo rm -R /etc/pacman.d/gnupg/
sudo rm -R /root/.gnupg/ # only if the directory exists
sudo gpg --refresh-keys
sudo pacman-key --init
sudo pacman-key --populate
# add keyserver to gpg.conf
echo 'keyserver hkp://keys.openpgp.org' | sudo tee -a /etc/pacman.d/gnupg/gpg.conf
sudo pacman-key --refresh-keys
sudo pacman -S archlinux-keyring manjaro-keyring
sudo rm /var/cache/pacman/pkg/*.sig
@fokayx
fokayx / git_remote_set-url.md
Last active July 3, 2025 10:11
Git switch remote URLs. Git 更換遠端伺服器倉庫網址

Git 更換遠端伺服器倉庫網址URL

1.確認目前Git遠端伺服器網址: git remote -v

git remote -v
origin  https://github.com/USERNAME/REPOSITORY.git (fetch)
origin  https://github.com/USERNAME/REPOSITORY.git (push)

2.更換Git遠端伺服器位網址,使用:git remote set-url