mirror of
https://github.com/namibia/tips.git
synced 2025-01-03 06:10:19 +00:00
commit
908ae034cc
@ -52,6 +52,7 @@
|
||||
* [Rename a branch](https://github.com/git-tips/tips#rename-a-branch)
|
||||
* [rebases 'feature' to 'master' and merges it in to master ](https://github.com/git-tips/tips#rebases-feature-to-master-and-merges-it-in-to-master)
|
||||
* [Archive the `master` branch](https://github.com/git-tips/tips#archive-the-master-branch)
|
||||
* [Modify previous commit without modifying the commit message](https://github.com/git-tips/tips#modify-previous-commit-without-modifying-the-commit-message)
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end toc -->
|
||||
@ -365,5 +366,10 @@ git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1
|
||||
git archive master --format=zip --output=master.zip
|
||||
```
|
||||
|
||||
## Modify previous commit without modifying the commit message
|
||||
```sh
|
||||
git add --all && git commit --amend --no-edit
|
||||
```
|
||||
|
||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||
<!-- @doxie.inject end -->
|
||||
|
Loading…
Reference in New Issue
Block a user