Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • update is equal in SVN and Mercurial. svn up ID == hg up ID: svn - "Bring changes from the repository into the working copy", Mercurial - "Update the repository's working directory to the specified changeset". RTFM Commented Dec 5, 2012 at 21:43
  • But in git, your working copy is a repository, oops. Commented Dec 5, 2012 at 22:36
  • @Kaz: WTF??? Local repo in git physically - .git dir inside Working Copy Commented Dec 6, 2012 at 10:32
  • @LazyBadger Fair enough, maybe I gave a bad example. However, I believe my answer is still valid, so I have removed the update example and left the rest of the answer unchanged. Commented Dec 6, 2012 at 15:14
  • 1
    Other version control systems also have a .<whatever> directory or similar, but it is not a repo. Every git working copy is also a repo. No repo, no working copy. Commented Dec 6, 2012 at 22:01