TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Git 2.0 release notes

230 pointsby redox_about 11 years ago

7 comments

stormbrewabout 11 years ago
I like a lot of these things for sure. The only thing that I really wish they'd do that I've seen no sign they plan to is move git-subtree from contrib into the main distribution. It's such a useful thing.
评论 #7384485 未加载
评论 #7386253 未加载
eslaughtabout 11 years ago
Is there any intention among the Git developers to ever make --recursive a default option for git clone? (This is an option that causes git clone to recursively clone any submodules as well as the top-level repo.)<p>Sure, arguably there are fundamental issues with submodules that you won&#x27;t ever solve, and some people might prefer subtree to become the default. (I won&#x27;t get into that argument here as there is another thread addressing that topic.)<p>But the fact still stands that a lot of the ugliness of submodules comes from the fact that the UI forces users to learn a whole extra set of commands, while the regular commands are largely oblivious to the existence of submodule. If I make a Git repo with submodules, I can&#x27;t just pass a link to my Git-novice friends and have them clone it, because the UI for submodules is separate from the main Git UI. Arguably, for users who don&#x27;t need to actually touch the submodule, the fact that the submodule is there should be invisible from the perspective of the UI. Although Git has been gradually getting closer to this being true, it is not currently the case (clone being an example of one command which is not aware of submodules by default).
anton_gogolevabout 11 years ago
Is it just me or &quot;simple semantics&quot; is not at all simple? Compare with:<p><pre><code> hg push -- pushes everything to &quot;default push location&quot; hg push -r . -- pushes currently checked out branch hg push -r foo where -- pushes foo to where</code></pre>
评论 #7384893 未加载
评论 #7384965 未加载
评论 #7384707 未加载
评论 #7384735 未加载
评论 #7385335 未加载
评论 #7384740 未加载
评论 #7385284 未加载
rplntabout 11 years ago
Is this released already or are those just preliminary release notes?
评论 #7384821 未加载
nbouscalabout 11 years ago
Minor feature that&#x27;s really nice: the pull.ff config setting. I had made an alias for doing that manually, now I can start actually using git pull again.
评论 #7384860 未加载
stefan_kendall3about 11 years ago
&quot;git push -f&quot; will no longer ruin days (as badly)
评论 #7390456 未加载
评论 #7388590 未加载
评论 #7390607 未加载
lobster_johnsonabout 11 years ago
I like the &quot;add&quot; is more inclusive by default. But does this mean that &quot;add -p&quot; also can add untracked files? (If not, it seems inconsistent to me.)
评论 #7389908 未加载