Skip to content
  1. Mar 13, 2020
  2. Mar 05, 2020
  3. Mar 04, 2020
  4. Feb 10, 2020
  5. Jul 09, 2019
  6. Jul 02, 2019
  7. Jul 01, 2019
  8. Jun 25, 2019
    • Will Thompson's avatar
      Prune tags as well · 09aa7c81
      Will Thompson authored
      If we delete a tag, we probably have a good reason.
      09aa7c81
    • Will Thompson's avatar
      Fetch tags outside branches' histories · 6de381ef
      Will Thompson authored
      git help fetch says:
      
      > By default, any tag that points into the histories being fetched is
      > also fetched; the effect is to fetch tags that point at branches that
      > you are interested in.
      
      To give an example:
      
          $ mkdir /tmp/source
          $ cd /tmp/source
          $ git init
          $ touch /tmp/source/foo && git add foo && git commit -am foo
          $ git clone /tmp/source /tmp/dest
      
          $ git tag v1.0
          $ git checkout -b temp
          $ echo "Don't lose this" > foo && git commit -am "Important"
          $ git tag dont-lose-this
          $ git checkout master
          $ git branch -D temp
      
          $ cd /tmp/dest
          $ git fetch
          From /tmp/source
           * [new tag]         v1.0       -> v1.0
          $ git fetch --tags
          From /tmp/source
           * [new tag]         dont-lose-this -> dont-lose-this
      
      It's important that we fetch all tags because we sometimes tag a branch
      with 'archive/something' before force-pushing to it so we don't lose the
      old head of that branch; it would be sad to not back those up.
      6de381ef
    • Will Thompson's avatar
      Prune while fetching · 17675937
      Will Thompson authored
      This job has been failing for the last week:
      
          ----------------------eos-openqa-tests----------------------
          Using /opt/backups/eos-openqa-tests.git
          - master @ 0c013e2 ..Could not execute git fetch
          error: cannot lock ref 'refs/heads/staging': 'refs/heads/staging/T25144-fix-fbe_language_switch-on-ISOs' exists; cannot create 'refs/heads/staging'
          From github.com:endlessm/eos-openqa-tests
           ! [new branch]      staging    -> staging  (unable to update local ref)
          Terminating early
      
      This is because we previously had branches of the form 'staging/*' in
      this repo, and we now have only a 'staging' branch (or none). Git
      doesn't support both at once, but nothing pruned old staging branches.
      Prune 'em.
      
      https://phabricator.endlessm.com/T27103
      17675937
  9. Jul 05, 2016
  10. Jan 04, 2016
  11. Jun 02, 2014
  12. Apr 24, 2014
  13. Apr 23, 2014
Loading