On Fri, Mar 04, 2016 at 02:14:14PM -0800, alvinpenner wrote:
I had previously downloaded the git lib2geom repository using the command: git clone git://git.launchpad.net/lib2geom
Now I saw that there was a recent commit yesterday, so I decided to update. I ran the command : git pull git://git.launchpad.net/lib2geom and got the response:
From git://git.launchpad.net/lib2geom
- branch HEAD -> FETCH_HEAD
Already up-to-date.
However, I know that my copy is not uptodate, despite what the message says. Any ideas as to how to do a pull?
Last change shown in that branch is 2/10:
"Remove FindBoost.cmake, since it should be shipped with CMake itself."
If `git log` shows that commit at the top then you are indeed up to date.
Perhaps doublecheck where you saw the commit yesterday; perhaps it was to a different branch or something?
Also, is there any way of knowing which rev my local repository is currently on? Something equivalent to 'bzr revno' or 'bzr version-info'?
`git status` typically is adequate for indicating if you're up to date and if not generally what's missing.
`git show HEAD` will display the current patch you're on; `git show --summary HEAD` shows just the commit message; `git show --oneline --summary HEAD | cat` gives a terse one line summary
I have tried 'git log', but unfortunately it generates an infinite loop from which I cannot escape, so it is not very helpful. I have tried about a dozen varieties of the command 'git log <revision range>' but none of them work. The git help files, unfortunately, are no help because they do not contain any working examples.
Also, will I need to implement a SSH key to make changes? I previously did this for launchpad on Windows using Pageant and Putty, but am not sure how to apply that procedure to git, and also I lost my notes from that trial, which was in 2009.
Presumably launchpad's git uses the same ssh keys you set up before.
In any case, there's ample docs on launchpad to guide you through creating and registering keys if you need to make another one.
Bryce