support write repo in guide
support write repo in guide