commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Commons Wiki] Update of "UsingGIT" by LucMaisonobe
Date Wed, 07 Jan 2015 18:59:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The "UsingGIT" page has been changed by LucMaisonobe:

  An Apache specific page is [[|here]].<<BR>>
  There is also a wiki at [[|Git Wiki Homepage]].<<BR>>
  Also a quick tutorial on [[|Git for SVN users]].
+ Eclipse users could have a look at [[|Git
version control with Eclipse (EGit) - Tutorial]].
  = Comparison with subversion commands =
- We first list a subversion command, and after that the equivalent git command.
  One of the most important difference from a user point of view is that since there is always
one ''local'' repository and
  one or several ''remote'' repositories, there is a distinction in git between saving some
work only locally on a private
@@ -60, +59 @@

  and `status`) only work on the local copy of a remote repository. You should therefore use
`git fetch` regularly to refresh your
  copy (if you do not want to `pull`).
+ We first list a subversion command, and after that the equivalent git command (we use Apache
Commons Math git repository as
+ an example, of course you should adapt it depending on the project).
   * `svn checkout `''repo-url''
+    `git clone` (read/write
access, where apacheID is committer ID)
-    `git clone`
+    `git clone` (read-only access)
   * `svn diff`
     `git diff` (shows only unstaged changes, `git diff --cached` shows prepared commit)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message