THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
svn diff
git diff
(shows only unstaged changes,git diff --cached
shows prepared commit)svn add
git 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
lists all remotes andgit remote show <name>
shows details about remote (for examplegit remote show origin
for the default remote name).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)
...