git/squash-commits.md: Replace German git output with English

This commit is contained in:
tomac 2021-03-06 20:26:39 +01:00
parent 020316ccbd
commit ca998ddbcc

View file

@ -21,11 +21,11 @@ $ git log --graph --decorate --oneline
* 662e04e Initial commit
$ git status
Auf Branch master
Ihr Branch ist 4 Commits vor 'origin/master'.
(benutzen Sie "git push", um lokale Commits zu publizieren)
On branch master
Your branch is ahead of 'origin/master' by 4 commits.
(use "git push" to publish your local commits)
nichts zu committen, Arbeitsverzeichnis unverändert
nothing to commit, working tree clean
```
You want to merge the last 4 commits from `a` to `english`.
@ -33,13 +33,13 @@ You want to merge the last 4 commits from `a` to `english`.
```bash
$ git reset --soft "HEAD~4"
$ git status
Auf Branch master
Ihr Branch ist auf demselben Stand wie 'origin/master'.
On branch master
Your branch is up to date with 'origin/master'.
Zum Commit vorgemerkte Änderungen:
(benutzen Sie "git reset HEAD <Datei>..." zum Entfernen aus der Staging-Area)
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
neue Datei: a
new file: a
$ git commit --amend
[master 24e0e06] English
@ -53,4 +53,4 @@ $ git log --graph --decorate --oneline
* 662e04e Initial commit
```
After that you can push it to remote repository via `git push`.
After that you can push it to remote repository via `git push`.