Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[git] Multiple master HEAD threads

Hi,

I have just started using git in eclipse and frankly it is has had an enormous impact on my development. 

On each occasion I make a change I commit it and  comment it.

The way I was doing this  was  by first staging on command line terminal using

git add .

Then committing it in eclipse
by 
While  root selected in project explorer -> right click -> team -> commit.

I seemed to have done something wrong. 

If I select one of the sub directories I have another thread appearing in git history window with master HEAD and a thread of changes below it.

if I select one of the files I have aldo another thread beginning with master HEAD and list of changes below it.

I should only have one thread so that when the repository is select in git repository window or the root in the project explorer I  have just this one thread. 


Also if I make changes  they get added to these two unwanted threads rather than my main thread.

How can I  merge back these unwanted threads so that I only have one thread  ?



Back to the top