Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 851 Bytes

File metadata and controls

44 lines (31 loc) · 851 Bytes

Comandos Rápidos para Push

Después de crear el repositorio en GitHub

Opción 1: Usando el script PowerShell

cd c:\Users\ZeroM\instinct
.\setup_remote.ps1 -RepoUrl "https://github.com/jmarcos01/instinct.git"
git push -u origin main

Opción 2: Comandos manuales

cd c:\Users\ZeroM\instinct

# Agregar remote (reemplaza con tu URL)
git remote add origin https://github.com/jmarcos01/instinct.git

# Verificar
git remote -v

# Push
git push -u origin main

Si el repositorio ya existe y quieres sobrescribirlo

⚠️ CUIDADO: Esto sobrescribirá el repositorio remoto

cd c:\Users\ZeroM\instinct
git remote add origin https://github.com/jmarcos01/instinct.git
git push -u origin main --force

Verificar estado antes de push

git status
git log --oneline -5
git remote -v