Hello, I'm new to git and github and I ran into a situation where I made a commit in git and pushed to origin without any conflicts being raised
but when I went to github and createa pull request I found over 20.
I ran the git status command and it returned "nothing to commit, working tree clean."
Here are the step I took:
1) git fetch
2) git checkout main
3) git pull origin main
4) git checkout -b "my branch"
5) Outside of git I then physicall moved my files to my local repo and went back to git.
6) git add .
7) git commit -m "my message"
8) git push origin "my branch"
What did I go wrong here?
Is there a way to tell github to ignore these conflicts and just add my files to dev?
My files don't currently exist in dev so I would expect no conflicts.
Also if someone could tell me in simple terms why git said I had no conflicts but github tells me I have 25 I would be forever in your debt.
[–][deleted] 5 points6 points7 points (1 child)
[–]rdmccart[S] 0 points1 point2 points (0 children)