Skip to content

agnilabs/www

Repository files navigation

agni labs

this is a simple repo that maintains the agni labs website (made with 🧪 & 🔥 & ♥️)

git configuration for multiple remotes

this repository is configured to push to two remote repositories simultaneously:

to set up your local repository to push to both remotes, run these commands:

# Set the primary remote URL (for both fetch and first push)
git remote set-url origin [email protected]:adiadd/agnilabs-www.git

# Add the second push URL
git remote set-url --add origin [email protected]:agnilabs/www.git

you can verify your configuration with:

git remote -v

this should show:

origin  [email protected]:adiadd/agnilabs-www.git (fetch)
origin  [email protected]:adiadd/agnilabs-www.git (push)
origin  [email protected]:agnilabs/www.git (push)

now when you run git push origin main, it will push to both repositories automatically.

Inspiration