/
Notizensammlung

Notizensammlung

 

git

Update lokales Repository

Lokalen development-Branch aktualisieren

git fetch --all git pull upstream development

Einen lokalen Featurebranch aktualisieren
(NEVER use pull on a feature branch, but pull to development and then rebase the feature branch on development)

git checkout <feature-branch> git pull --rebase upstream development

Repository auf github.com auf Stand halten

git push

Änderungen am lokalen Branch

lokalen Branch löschen

git branch -d <local-branch> (lokalen Branch löschen)

lokalen Branch umbenennen

git branch -m <newname>

Datenbank

Migration

application@28c2:/app$ ./htdocs_symfony/bin/console doctrine:migrations:generate application@28c2:/app$ ./htdocs_symfony/bin/console doctrine:migrations:list application@28c2:/app$ ./htdocs_symfony/bin/console doctrine:migrations:migrate

 

Sonstiges

.scss zu .css Umwandlung anstoßen

in Docker per SSH
Pfad wechseln auf htdocs_symfony
ausführen:

yarn watch

Related content