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 | 34.26 KiB/s, done.
Clone done, wire bytes sent: 588 received: 1658 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: aac5261af14313b2b56713f7dbfa6441ba27b889
server-id: 8cd4f7f01258937cd9353778f13a95439f18eef8
admin-user: dev (password is "X9cqWGZefw")
Make a change and commit
$ vb ci -m "update" --nosync
Committed version: 69db7649b66c6204744349845d6ba4a107533942b5af8d5e79690dffb4013725
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), 976.00 B | 16.72 KiB/s, done.
Push done, wire bytes sent: 675 received: 301 remote: 127.0.0.1
See Also¶
See also
clone, configuration, pull, remote, sync