Can you tell me why git seems to remember and use its “fetch memory” for a deleted local repository? I delete a local branch that was tracking a remote, and when that remote is completely rebuilt with new code and merges and I check it out and track it locally, I’m getting the original local/remote code (without updates/changes) if I don’t fetch first. Why does this happen? Why does git checkout the original outdated branch version even after the local branch was deleted? Thank you for your help!
Why does Git fetch remember and use deleted local tracking branches
58 Views Asked by user6096790 At
0
There are 0 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 FETCH
- (in promise) TypeError: NetworkError when attempting to fetch resource
- Nextjs fetching data from child component
- Fetch file, read contents and return contents all in one function
- How to combine JSON objects and unnest array of arrays
- Flask: Template file cannot fetch from locally stored .json file in another directory
- fetch APi request for forex rates
- Why does fetching from local grape Api (rails server) cause repeated GET-Requests and/or page reloads?
- How to fetch a specific span tag on a webpage using Chrome console?
- Must the fetch method request correspond to the server side http method
- Type generation in openapi-fetch
- How can I convert row data to column in PHP
- Fetch api doesn't return data but a Promise
- Preventing Data Tampering in HTTPS Requests: Safeguarding User-Initiated Donations
- Fetch and json in Angular
- fetching is not happening in client component?
Related Questions in GIT-CHECKOUT
- Git checkout updates local branch and remote repository at the same time
- Git LFS Repo Fails To Checkout On Jenkins With Status Code 130
- Non-interactive git restore for specific lines in a file
- How to keep changes when switching branches without using `git stash`
- Why does Git fetch remember and use deleted local tracking branches
- GitHub Actions Checkout with LFS (Private Repo)
- Getting error while copying folder from one branch to another in gitlab repo
- VScode + git: does not checkout submodules
- How to checkout a file from the current tracking branch?
- How to get checked out remote repository directory in github actions
- Is there a simple way to update somebody else's file on gist.github.com?
- GitHub `actions/checkout`: Fetch history up to before the push event
- Azure Cli / Git Checkout previous HEAD is incorrect
- In Git, How do I checkout to a New Branch from an already Existing Branch?
- How can disbale poll scm for specific checkout in Jenkinsfile?
Related Questions in GIT-REMOTE
- git branch on another server
- Updating a remote server to pull from a renamed Git repo
- How to list remote branch without web request?
- Syncing one remote git repo with other
- Git won't see remote merge
- Clean remotes/origin/master branch after deleting remote repository
- Visual Studio 2013 Configure Remote Git Repo
- How to pull only one branch from remote?
- How do I add existing remote branch to my locally cloned repository?
- Which characters are illegal within a git remote name?
- How to delete/change the remote origin master branch
- Git - fetch changes made to files on remote
- How to merge a branch from one remote to the origin/master
- git branch -r vs git remote show origin
- Results of Merging a Branch Tracking a Remote with a Branch Containing a Submodule?
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 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?