This could be an issue of git. The exact steps to reproduce this issue are as below,
1. Assuming you are working on a branch "dev1", and have submitted a couple of commits in the branch; 2. Assuming some changes have been merged into master by others, and you merge the changes from master into dev1 using the following command, $git merge master 3. Make some changes in branch dev1, and then execute the following commands, $git add . $git comment --amend 4. Combine all the changes in dev1 into one commit using the following command, $git rebase -i e705c6a dev1 # e705c6a is the ancestor commit of branch dev1 In the interactive rebase page, Keep using "pick" for the first commit, and use "s" for all other commits. 5. You will find that the changes made in step 3 are lost. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/b27299d5-f0c7-4cb1-b439-434f7de93e09%40googlegroups.com.