offremote
[options
]
This program prepares a remote associating a exactly one local branch with a remote branch.
It is mostly used to port possibly modified parts of the local histroy to a remote repository not usually pushed to using tools like offbranch(1) or incorporating remote history into local branches.
-
-h
: Shows a summary of the options. -
-n
name: Specify the remote and branch name, instead of the name of the remote repository. -
-f
: Reconfigure an already existing branch.
This project was created by XZS d.f.fischer@web.de and lives at GitHub. Bugs can be filed in the tracker found there.
When branch and remote were sucessfully configured, the program exits with return code 0.
The attempt to reconfigure an existing branch will be rejected returning 1. This can be suppressed with the -f flag.
Errors on remote creation cannot be suppressed. They are passed through unaltered from git-remote(1). Most probably, 128 will signal that the remote already exists. No branch will have been created when the program is aborted by any error.
offbranch(1), git(1).