It is NOT a duplicate of (almost;because stackoverflow wouldn't allow that)exact title
Git Pull - Everything up to date, but it's not
I'm missing two tags (Linux kernel v3.9-rc4 and v3.9-rc5 specifically)and the changes that they come with. I have tried too many commands and ran out of gray cells.
git reset
git reset --hard
git checkout HEAD
git pull
git fsck
git reset --hard HEAD
Q:Is it possible that my ISP have messed up with their caching(because they have done so) and cause all this?
In order to checkout a Git tag, use the “ git checkout ” command and specify the tagname as well as the branch to be checked out. Note that you will have to make sure that you have the latest tag list from your remote repository.
To fetch tags from your remote repository, use “git fetch” with the “–all” and the “–tags” options. $ git fetch --all --tags Fetching origin From git-repository 98a14be..7a9ad7f master -> origin/master * [new tag] v1.0 -> v1.0
Without running git pull, your local repository will never be updated with changes from the remote. git pull should be used every day you interact with a repository with a remote, at the minimum. That's why git pull is one of the most used Git commands.
git-pull - Fetch from and integrate with another repository or a local branch git pull [<options>] [<repository> [<refspec>… ]] Incorporates changes from a remote repository into the current branch. In its default mode, git pull is shorthand for git fetch followed by git merge FETCH_HEAD.
I think you want git fetch --tags
. From the git-fetch
manual page:
-t, --tags
Most of the tags are fetched automatically as branch heads are
downloaded, but tags that do not point at objects reachable from
the branch heads that are being tracked will not be fetched by
this mechanism. This flag lets all tags and their associated
objects be downloaded. The default behavior for a remote may be
specified with the remote.<name>.tagopt setting. See git-
config(1).
If this doesn't work, please post the output of git fetch --tags --verbose
.
Try
git pull --tags
Extra characters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With