Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGIT plugin in eclipse.(Unable to get the updates from the remote repository of git through eclipse.)
EGIT plugin in eclipse. [message #726977] Tue, 20 September 2011 05:39 Go to next message
Milind  is currently offline Milind Friend
Messages: 3
Registered: September 2011
Location: Pune
Junior Member
Hi,
I am unable to take the update from the remote git repository through
eclipse. It is possible to check out the code via eclipse through
cloning the GIT repository of www.####.net(not specified). I have tried
the option of "Fetch from the Upstream". When i click on it... It
displays "everything is up to date". But actually there are changes..
which are not reflecting to the local host.. .. Or there any other way
to fetch the data from the remote host(repository).
Can some one help on this issues..?
Please reply . ..

Regards,
Milind.
Re: EGIT plugin in eclipse. [message #727041 is a reply to message #726977] Tue, 20 September 2011 09:26 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
Fetch generally only updates remote tracking branches, usually your working directory
reflects the state of a local branch you checked out. So after fetching you need to
merge the updates into your local branch or rebase your local branch onto the updated
remote tracking branch in order to see them in the working tree. Have a look at the
history view and check which branch you are looking at and on which remote tracking
branch updates have been fetched. You may combine these two steps using pull
operation which is combined action doing "fetch + merge" or "fetch + rebase"
depending on the merge strategy you have chosen when creating the local branch
based on a remote tracking branch.
Re: EGIT plugin in eclipse. [message #727120 is a reply to message #727041] Tue, 20 September 2011 13:03 Go to previous messageGo to next message
Milind  is currently offline Milind Friend
Messages: 3
Registered: September 2011
Location: Pune
Junior Member
Hi,
Thank you, for whatever you had given the description regarding the EGIT procedure.
But it did not help us. Actually, I have tried on thing at my local branch on eclipse. I have created one package in my workspace and created a java file. After this, I have check in this file. At my local machine, when i opt for "show in history" it let me know the latest file check in along with date and time. But when I find out, and try to pull the changes from my friend machine to get the same file.. it display message.. that "Everything is up to date". And even in "show in history" tab it does not shows the file which was checked in at his machine.
Can you let me know what will be the problem. ?

Regards,
Milind.
Re: EGIT plugin in eclipse. [message #727309 is a reply to message #727120] Tue, 20 September 2011 21:41 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1268
Registered: July 2009
Senior Member
- on which branch did you commit this change ?
- what's the content of .git/config of your and your friend's repository ?
- what action did you run with which parameters to pull the change ?
Previous Topic:[Https] Can't save the password.
Next Topic:gitignore and folders bug
Goto Forum:
  


Current Time: Wed Apr 24 18:45:08 GMT 2024

Powered by FUDForum. Page generated in 0.04128 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top