Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change the last commit messages #19

Closed
janbaer opened this issue Jul 22, 2016 · 0 comments
Closed

How can I change the last commit messages #19

janbaer opened this issue Jul 22, 2016 · 0 comments
Labels

Comments

@janbaer
Copy link
Owner

janbaer commented Jul 22, 2016

The last commit message you can change with

git commit --amend

When you want to show more than one commit message, for example the latest 3 or one of this, you have to enter

git rebase -i HEAD~3

But you should only do this with commits that you've not pushed to any remote server!!!

@janbaer janbaer added the Git label Jul 22, 2016
@janbaer janbaer closed this as completed Jul 22, 2016
@janbaer janbaer reopened this Aug 24, 2016
@janbaer janbaer closed this as completed Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant