I have two branches, master and b1. When I'm on b1, 'git reflog show' displays all the changes to b1. However, after I switch to master and run 'git reflog show b1', it displays something different. The manpage for 'git reflog' does not explain how the arg, <ref>, affects the output.
What should "git reflog show <ref>" show?
186 Views Asked by Ltf4an At
1
There are 1 best solutions below
Related Questions in GIT
- problem to push files on a repository git
- diff3 output in git conflict style, including mergeable hunks
- Git Not In Sync with Local Branch
- Setting up the version control of .dotfiles while the .config is connected to a forked repo
- How to fix overriding the main branch in Git?
- I can't add text to "Message" in VS Code when committing to Git
- How can i redirect pull request from main branch to another branch
- Xcode commits (possibly outside of any branch) disappeared, how to get them back?
- Git/TortoiseGit : how to apply ONLY the changes from ONE commit from branch A, to branch B?
- How can I reintroduce username an password on git using fedora?
- GIT SKIP EMPTY DIRECTORIES
- Git smudge run once per checkout or per commit?
- I can't find ~/.profile or ~/.bashrc in C:/Users/<user>/.ssh folder
- Set environment variable during push for GitHub Actions
- Android WebRTC compile
Related Questions in SHOW
- I can't make the last line spread across in my display
- showing loader while loading and show result when finished works fine in Firefox but not in Chrome
- WooCommerce: Show or hide Out of Stock button depending upon stock conditions
- How can I display the data after the user submits the form in Laravel 10?
- How to make a div stay visable after refresh
- Show/hide Javascript Toggle in the same page problem. Multiple hidden texts shows up in the same time. Without JQuery
- Show content after captcha submit
- Picture Show Preview
- TYPO3 gridelements accordeon show
- How to show form (own class) called in a hidden MainWindow class?
- jquery working only first item when another items was hidden
- how to Elfinderk img show
- The indicator does not move to a separate panel (Tradingview study error)
- How to show a small table by inputting a value in another cell
- how to Show Heads-up notification when app is closed
Related Questions in REF
- How to get loaded ref array on the first component load
- ref not available in HTMLAttributes<HTMLDivElement>
- How to check attributes of a ref column in the table that is being updated - Oracle
- ref.current.contains(event.target) always returns false
- Multiple layer ref calls
- how to use both ref and v -for in my custom component in Vue 3?
- Why does latex give me (??) when I try to reference a figure using \ref{}?
- React using refs to scroll to when selecting from a dropdown
- How can I dynamically determine height of a conditionally rendered component?
- React hook form share ref with useFormContext()
- How to pass a reference to the child component in a compound component?
- What is the max C# version a source generator library can target?
- UI moves when I put a ref in a Box/div
- How to have checkboxes checked by default using useFormik?
- Why is there two implementations of ref in react?
Related Questions in REFLOG
- Is it possible for a git pretty format to show the reflog selector with BOTH the "index format" and the "timestamp format"?
- Permanently delete a specific commit/stash from Git
- How can I use `git reflog format` while showing it as sorted by date?
- remove single git reflog entry by hash/id
- Can an admin access my reflog to revert commit changes?
- Can `git reset --soft` be used to undo secrets from a commit before pushing to a remote (Github)?
- Solving git upstream rebase "hard case"
- git - fatal: your current branch appears to be broken (possibly from interrupted pull)
- Why git commit can be lost in this case?
- why doesn't my git reflog go back up to clone
- Viewing expired reflog logs
- What should "git reflog show <ref>" show?
- Getting full commit history after git clone
- Can't recover commit from Git due to same sha in reflog
- unstaged files gone after git reset --hard
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It shows the history of
<ref>. If<ref>is not provided, it shows the history of HEAD. Note that this is not what HEAD points to, but rather HEAD itself. So when you do agit reflog showwhile on b1, it is showing the history of HEAD, not b1. When you dogit reflog show b1, it shows the history of b1. So that is where the difference comes from.