push¶
vb push [URL] [OPTIONS]
Description¶
Push all sharable changes from the local repository to a remote
repository. Sharable changes include public check-ins, edits to
wiki pages, tickets, tech-notes, and forum posts. Use
--private to also push private branches. Use the
configuration push command to push website configuration details.
If URL is not specified, then the URL from the most recent clone, push, pull, remote, or sync command is used. See vb help clone for details on the URL formats.
Options¶
- --all¶
Push to all remotes, not just the default
- -B, --httpauth USER:PASS¶
Credentials for the simple HTTP auth protocol, if required by the remote website
- --ipv4¶
Use only IPv4, not IPv6
- --no-http-compression¶
Do not compress HTTP traffic
- --once¶
Do not remember URL for subsequent syncs
- --proxy PROXY¶
Use the specified HTTP proxy
- --private¶
Push private branches too
- -R, --repository REPO¶
Local repository to push from
- --ssl-identity FILE¶
Local SSL credentials, if requested by remote
- --ssh-command SSH¶
Use SSH as the
sshcommand
- --transport-command CMD¶
Use external command CMD to communicate with the server
- -v, --verbose¶
Additional (debugging) output - use twice for network debugging
- --verily¶
Exchange extra information with the remote to ensure no content is overlooked
Examples¶
Clone the repository with credentials
$ vb clone http://dev:devpass@127.0.0.1:8888 client_1.vbyte --save-http-password
Round-trips: 2 Artifacts sent: 0 received: 5 | 100% (5/5), 2.19 KiB | 91.36 KiB/s, done.
Clone done, wire bytes sent: 587 received: 1660 remote: 127.0.0.1
Rebuilding repository meta-data...
0.0% complete...
33.3% complete...
66.6% complete...
100.0% complete...
Extra delta compression... none found
Vacuuming the database...
project-id: 35870bc555a7087cc06880cb776620910ecffb88
server-id: 315eefea1bab32262ee471a5e1d8e4ea5b13d773
admin-user: dev (password is "FCTMkerD5b")
Make a change and commit
$ vb ci -m "update" --nosync
Committed version: e5f1738dac6b42d0283741d32a374e7fde6b42de5ef38d3bc7568819b776fe1b
Push your changes
$ vb push
Push to http://dev@127.0.0.1:8888
Round-trips: 1 Artifacts sent: 2 received: 0 | 100% (2/2), 974.00 B | 10.22 KiB/s, done.
Push done, wire bytes sent: 672 received: 302 remote: 127.0.0.1
See Also¶
See also
clone, configuration, pull, remote, sync