I'm the lone developer on a project where I'm working across multiple computers, some on VM. After doing a git clone of my repo on gitHub, calls to reflog only show items after the clone. How can I update this new cloned repo to show the full history?
Asked
Active
Viewed 1,789 times
1
-
2Is there some specific functionality that you're looking for beyond what, for example, `git log` provides? – ChrisGPT was on strike Jan 29 '15 at 19:32
-
Looking into it, I think part of this issue was my ignorance of the difference between reflow and log. Log seems to give me more what I'm looking for, thanks for bringing that up! – RYS Jan 29 '15 at 21:37
-
semi-related: http://stackoverflow.com/questions/10098095/git-can-i-view-the-reflog-of-a-remote – Alexander Bird Feb 19 '15 at 19:02
1 Answers
5
The reflog only shows the history of things you have done to your repository. It is kind of like a local history. This means the first thing you did was clone the repository, and so that is where it starts. I do not believe what you are asking is technically possible.
There are lots of ways to accomplish tasks in Git though. Perhaps you can accomplish your root goal using something other than reflog.

tgrosinger
- 2,463
- 2
- 30
- 38
-
I was trying to do a `git rebase -i` but did not see the full history of the branch. Can i issue the same command to the remote/ will this do what I'm expecting? – RYS Jan 29 '15 at 21:40
-
Make sure you have performed a `git fetch` for the branch you are trying to rebase against. You may also need to check out a local copy of that branch. – tgrosinger Jan 29 '15 at 21:42
-
I've done this, but still get no commit history to pick from. Can I do `git rebase -i origin/branch` and get what I'm expecting? – RYS Jan 29 '15 at 21:47
-
`git checkout -b myBranch origin/branch` then do `git rebase -i myBranch` – tgrosinger Jan 29 '15 at 22:50