mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-07 07:35:46 +02:00
Updated Squashing Commits (markdown)
parent
9b189ed245
commit
1fea66f2e2
@ -21,7 +21,7 @@ git push --force origin super-feature
|
||||
## Alternatives
|
||||
1. Step-by-step commands
|
||||
```
|
||||
# fetch the current upstream repository
|
||||
# fetches the current upstream repository
|
||||
git fetch upstream
|
||||
# resets HEAD to the current upstream
|
||||
git checkout upstream/master
|
||||
@ -31,7 +31,7 @@ git merge --no-commit --squash super-feature
|
||||
git checkout -B super-feature
|
||||
# lets you edit the commit and checks in the changes (you can also use git commit -m "message")
|
||||
git commit -e
|
||||
# push the changes (in general, be careful with the --force parameter)
|
||||
# pushes the changes (in general, be careful with the --force parameter)
|
||||
git push --force origin super-feature
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user