What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-01-31 04:05:27
git rebase conflict
Resolving merge conflicts after a Git rebase When you perform a git rebase operation, you're typically moving commits around. Because of this, you might get into a situation where a merge conflict is introduced. That means that two of your commits modifi... Add solution -
Shell/Bash 2021-10-14 00:51:07
how to move master changes to branch
git checkout -b newfeat master git rebase --onto working-branch origin/master newfeat git checkout master git reset --hard origin/master At this point you have: *master pointing to the last pushed commit (origin/master) *working-branch never changed *a n... Add solution -
-
Shell/Bash 2021-10-04 21:29:02
git change commit id email
# For one commit git commit --amend --author="Author Name <[email protected]>" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase... Add solution -
Shell/Bash 2021-08-31 08:25:02
Change Git commit user name and author
# For one commit git commit --amend --author="Author Name <[email protected]>" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase... Add solution -
Shell/Bash 2021-08-29 07:49:01
How to change git author
# For one commit git commit --amend --author="Author Name <[email protected]>" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase... Add solution
Best helpers
Ranking is empty