Wie pushe ich ein commit ins Gerrit?
1 |
git push origin HEAD:refs/for/master |
Wie kann amende ich ein commit?
1 2 3 4 5 |
git commit -m "Something terribly misguided" # (1) git reset HEAD~ # (2) << edit files as necessary >> # (3) git add ... # (4) git commit -c ORIG_HEAD |
Wie kann ich mir alle Branches im Projekt auflisten lassen?
1 |
git branch -a |
Wie kann ich ein Branch Löschen?
1 |
git branch -d <branchName> |
Wie kann ich einen Brnach Aktualisieren ?
1 2 |
git fetch git pull |