• Basisthema
  • Tweede menu item
    • Sub menu item
Inloggen
Home » Opzetten bestaande GitRepo

Opzetten bestaande GitRepo

Opzetten bestaande GitRepo

// Bestaande .git verwijderen
rm -rf .git
git init --initial-branch=main
git remote add origin git@gitlab.indenty.nl:wordpress/wyzer-gladiortheme.git
git status
git pull

// Nieuwe branch maken
git checkout -b new
git add .
git commit -m "test"
git push --set-upstream origin new

// Terugswitchen naar main
git switch main
git fetch origin
git remote -v
git checkout -b main
git add .
Bekijk Snippet

Door Gladior

  • Facebook
  • Linkedin
  • Mail
  • Instagram

Contact

service@gladior.com

Overige informatie

Basisthema voor WordPress