gitutils.readthedocs.io/en/latest/
conda install -c paulscherrerinstitute gitutils|
Fork and clone:
gitutils fork <group_name>/<repo_name> |
|
Fork and not clone:
gitutils fork <group_name>/<repo_name> -n |
|
Fork, clean and clone:
gitutils fork <group_name>/<repo_name> -c |
|
Fork, clean and not clone:
gitutils fork <group_name>/<repo_name> -c -n |
|
merge (default title and description):
gitutils merge |
|
merge (from project's directory):
gitutils merge -t <title> -d <description> |
|
merge:
gitutils merge -p <group_name>/<repo_name> -t <title> -d <description> |
.git/config file.
|
-h (help):
|
Shows the help message and exit
|
|
-e (endpoint):
|
Allows the user to change the endpoint of the git server. Default: https://git.psi.ch
|
|
-n (no clone):
|
Indicates that the forked project will not be cloned after forking. A fork will be created on the server-side and no clone nor upstream will be generated on the local git server.
|
|
-c (clean):
|
Indicates to delete any existing fork project under your personal group. This might be necessary to fork and clone into a clean copy of the original repository. The desired forked project must not be a pre-existing forked project under your personal projects.
|
gitutils fork -h
|
-p (project):
|
Indicates the project to be forked.
|
|
-t (title):
|
The title of the merge request that is going to be created.
|
|
-d (description):
|
The description of the merge request that is going to be created.
|
gitutils merge -h
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.