1. 14 3月, 2018 1 次提交
  2. 22 2月, 2018 1 次提交
  3. 15 8月, 2017 1 次提交
  4. 13 8月, 2017 2 次提交
  5. 11 8月, 2017 4 次提交
  6. 06 8月, 2017 1 次提交
  7. 09 4月, 2017 1 次提交
  8. 24 3月, 2017 1 次提交
  9. 09 3月, 2017 2 次提交
  10. 05 3月, 2017 1 次提交
    • M
      fork: Add --remote-name option · 8a4d8dd0
      Marc Abramowitz 提交于
      Allows the user to choose the remote name for their fork instead of
      always using their GitHub username. This is useful for workflows where
      folks name the remote for their private fork origin `origin` and
      the upstream repo remote is named `upstream`. We happen to use this
      workflow at work, because it makes the remote names more predictable and
      easy to manage (you always push your new commits to `origin` rather than
      a remote name that is dependent on your username).
      
      ```
      $ git remote -v
      upstream	git@github.com:github/hub (fetch)
      upstream	git@github.com:github/hub (push)
      
      $ ./bin/hub fork --remote-name=origin
      Updating origin
      From ssh://github.com/github/hub
       * [new branch]      1.11-stable     -> origin/1.11-stable
       * [new branch]      1.12-stable     -> origin/1.12-stable
       * [new branch]      2.2-stable      -> origin/2.2-stable
       * [new branch]      code-coverage   -> origin/code-coverage
       * [new branch]      gh-pages        -> origin/gh-pages
       * [new branch]      master          -> origin/master
       * [new branch]      travis-packages -> origin/travis-packages
      new remote: origin
      
      $ git remote -v
      origin	git@github.com:msabramo/hub.git (fetch)
      origin	git@github.com:msabramo/hub.git (push)
      upstream	git@github.com:github/hub (fetch)
      upstream	git@github.com:github/hub (push)
      ```
      
      I haven't written tests yet, but I can if this is a feature that the
      maintainers are amenable to merging...
      8a4d8dd0
  11. 15 2月, 2017 1 次提交
  12. 10 8月, 2016 1 次提交
    • M
      Follow 307 redirects in `fork` · 193d8f86
      Mislav Marohnić 提交于
      Also, adopt the new name of the fork more precisely so it's reflected in
      the new remote URL. The name of the new git remote is for now *not*
      inherited from the returned Repository object for backwards compatibility.
      
      Fixes #1178
      193d8f86
  13. 08 12月, 2015 1 次提交
  14. 04 12月, 2015 1 次提交
  15. 30 9月, 2015 1 次提交
  16. 25 12月, 2014 1 次提交
  17. 29 10月, 2014 1 次提交
  18. 23 9月, 2014 1 次提交
    • M
      Tweak URI implementation for compatibility with stdlib · 38dbd312
      Mislav Marohnić 提交于
      When `url.scheme` is changed from "https" to "http" when someone
      configured their Enterprise instance to be used over insecure protocol,
      the "speedy" implementation changed the port as well, but the stdlib
      implementation doesn't. Things would break if someone used hub in an
      environment where stdlib URI was already loaded, like for instance from
      RubyGems.
      38dbd312
  19. 06 4月, 2014 2 次提交
  20. 02 4月, 2014 4 次提交
  21. 16 2月, 2014 2 次提交
  22. 24 1月, 2014 1 次提交
  23. 23 1月, 2014 1 次提交
    • I
      Fork and set up remote in a non-blocking fashion · 179ef88e
      Ivan Tse 提交于
      Forking through GitHub's API is asynchronous so there is really no way
      of knowning when you can access git objects without polling.
      Alternatively, we can establish the state of the fork with its remote
      tracking branches and tags by fetching from the "origin" remote and then
      changing the remote url to the fork.
      179ef88e
  24. 22 12月, 2013 1 次提交
  25. 07 11月, 2012 3 次提交
  26. 16 7月, 2012 1 次提交
  27. 07 5月, 2012 1 次提交