1 Star 1 Fork 2

Danboard / paraview

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
download.md 2.54 KB
一键复制 编辑 原始数据 按行查看 历史

Download ParaView with Git

This page documents how to download ParaView source code through Git. See the README for more information.

Clone

Optionally configure Git to use SSH instead of HTTPS.

Clone ParaView using the commands:

$ git clone --recursive https://gitlab.kitware.com/paraview/paraview.git ParaView
$ cd ParaView

Update

Users that have made no local changes and simply want to update a clone with the latest changes may run:

$ git pull
$ git submodule update --init

Avoid making local changes unless you have read our developer instructions.

Release

After cloning your local repository will be configured to follow the upstream master branch by default. One may create a local branch to track the upstream release branch instead, which should guarantee only bug fixes to the functionality available in the latest release:

$ git checkout --track -b release origin/release

This local branch will always follow the latest release. Use the above instructions to update it. Alternatively one may checkout a specific release tag:

$ git checkout v4.3.1

Release tags never move. Repeat the command with a different tag to get a different release. One may list available tags:

$ git tag

and then checkout any tag listed.

Use SSH instead of HTTPS

Git can be configured to access gitlab.kitware.com repositories through the ssh protocol instead of https without having to manually change every URL found in instructions, scripts, and submodule configurations.

  1. Register GitLab Access to create an account and select a user name.

  2. Add SSH Keys to your GitLab account to authenticate your user via the ssh protocol.

  3. Configure Git to use ssh instead of https for all repositories on gitlab.kitware.com:

    $ git config --global url."git@gitlab.kitware.com:".insteadOf https://gitlab.kitware.com/

    The --global option causes this configuration to be stored in ~/.gitconfig instead of in any repository, so it will map URLs for all repositories.

  4. Return to the Clone step above and use the instructions as written. There is no need to manually specify the ssh protocol when cloning. The Git insteadOf configuration will map it for you.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wangdou2014/paraview.git
git@gitee.com:wangdou2014/paraview.git
wangdou2014
paraview
paraview
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891