THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- {{svn checkout }}repo-url
git clone https://apacheID@git-wip-us.apache.org/repos/asf/commons-math.git
(read/write access, where apacheID is committer ID)
git clone https://git-wip-us.apache.org/repos/asf/commons-math.git
(read-only access) svn diff
git diff
(shows only unstaged changes,git diff --cached
shows prepared commit)svn add
svn add
– used to stage for commitsvn update
git pull
svn commit
git commit
, followed bygit push
. You need to stage (akaadd
all files which should be commited)svn status
(optionally refresh local stategit fetch
then)git status
- {{svn revert }}path
{{git checkout -- }}path svn info
git remote -v
andgit remote origin
svn cp
_https://svn.apache.org/.../trunk_ _https://svn.apache.org/.../tags/my-tag_-m message
git tag -m message MY_TAG
(or better, add also -s or -u option to create a cryptographically signed tag)
if you want the tag to also be on Apache servers, you shouldgit push origin my-tag
to push it to the origin remote repository)svn cp
_https://svn.apache.org/.../trunk_ _https://svn.apache.org/.../branches/my-branch_-m message
git branch my-branch
if you want the branch to also be on Apache servers, you shouldgit push origin my-branch
to push it to the origin remote repository)- {{svn help }}sub-command
git
sub-command--help