forked from osmocom/wireshark
Add instructions how to work with "git svn" instead of "svn"
svn path=/trunk/; revision=38080
This commit is contained in:
parent
277a56089c
commit
6dace04493
|
@ -2965,6 +2965,34 @@ to the DISSECTOR_SRC section of epan/CMakeLists.txt
|
|||
|
||||
See <http://www.wireshark.org/develop.html>
|
||||
|
||||
|
||||
1.10a Using git with the SVN source code tree.
|
||||
|
||||
Install git and the git-svn package.
|
||||
Run "mkdir git; cd git; git svn clone <svn-url>", e.g. if you are using
|
||||
the anonymous svn tree, run
|
||||
"git svn clone http://anonsvn.wireshark.org/wireshark/trunk/"
|
||||
|
||||
After that, a typical workflow may look like this (from "man git-svn"):
|
||||
|
||||
# Clone a repo (like git clone):
|
||||
git svn clone http://svn.example.com/project/trunk
|
||||
# Enter the newly cloned directory:
|
||||
cd trunk
|
||||
# You should be on master branch, double-check with ´git branch´
|
||||
git branch
|
||||
# Do some work and commit locally to git:
|
||||
git commit ...
|
||||
# Something is committed to SVN, rebase your local changes against the
|
||||
# latest changes in SVN:
|
||||
git svn rebase
|
||||
# Now commit your changes (that were committed previously using git) to SVN
|
||||
# as well as automatically updating your working HEAD:
|
||||
git svn dcommit
|
||||
# Append svn:ignore settings to the default git exclude file:
|
||||
git svn show-ignore >> .git/info/exclude
|
||||
|
||||
|
||||
1.11 Submitting code for your new dissector.
|
||||
|
||||
- VERIFY that your dissector code does not use prohibited or deprecated APIs
|
||||
|
|
Loading…
Reference in New Issue