I have a problem where whenever I run git, pull it onto my production server, this will lead to a merge.
If I run the git status, I get the following output:
$ git status
Good, so there is 351 local commit. But git diff does not detect local changes:
$ git diff origin/master..HEAD (no output)
If I use git log origin / master..HEAD, I only see messages like "Join branch" from ****.
Any ideas on how I can get rid of these 351 local commits that seem useless?
source share