public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
* Merging problem
@ 2024-08-02 18:41 Michael Salman
  2024-08-02 20:00 ` brian m. carlson
  2024-08-02 20:53 ` Sergey Organov
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Salman @ 2024-08-02 18:41 UTC (permalink / raw)
  To: git

I am new to using git and I encountered the following problem

1) Created a repository using Notepad added a file (FileA.txt). Put one 
line of text in the file. Did a git commit -a. so far so good.

2) I created a branch (my-branch), did a git checkout my-branch

3) Using notepad loaded FileA and changed the first line of text to 
something else. Gave command git commit -a no problems

4) Git checkout master looked at FileA nothing changed

5) Did a git merge my-branch. No conflict reported

6) Loaded FileA in master the text of the first line had changed to what 
is in FileA from the branch

Your help with this problem would be appreciated. I hope this is not due 
to my lack of understanding

Mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-02 20:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-02 18:41 Merging problem Michael Salman
2024-08-02 20:00 ` brian m. carlson
2024-08-02 20:04   ` rsbecker
2024-08-02 20:53 ` Sergey Organov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox