Eliminar script raro
This commit is contained in:
parent
f205e69f73
commit
8dd706b0d2
1 changed files with 0 additions and 23 deletions
23
sync.sh
23
sync.sh
|
|
@ -1,23 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
eval "$(ssh-agent -s)"
|
|
||||||
|
|
||||||
ssh-add ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
# Cambia al directorio de tu repositorio
|
|
||||||
cd ~/web
|
|
||||||
|
|
||||||
# Actualiza el repositorio de GitLab
|
|
||||||
|
|
||||||
git add .
|
|
||||||
git commit -m "auto-commit"
|
|
||||||
git fetch origin
|
|
||||||
git pull origin main --rebase
|
|
||||||
git push origin
|
|
||||||
|
|
||||||
# Empuja los cambios al repositorio de GitHub
|
|
||||||
git push github --all
|
|
||||||
git push github --tags
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue