Skip to content

Just a tip for better commit management on git repositories :octocat:

Notifications You must be signed in to change notification settings

jeziellopes/git-rebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Updating Commits on GitHub

  • With git log get the commit hash

    git rebase -i <commit hash>

  • Inside Vim editor, change 'pick' to 'edit' on commit that will be updated.

    from: pick de0e7ec added gh-pages

    to: edit de0e7ec added gh-pages

  • Update the data

    close Vim saving changes: qw

    user from commit: git commit --amend --author="username <user@email.com>"

  • Finish rebase!

    git rebase --continue

    git log and it's done!

*do it for each commit that have to be changed

;)


source article

written with StackEdit.

About

Just a tip for better commit management on git repositories :octocat:

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published