download
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
download [2018/10/08 17:45] – oschuett | download [2020/08/21 10:15] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 38: | Line 38: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
- | [[https://github.com/Homebrew/homebrew-science/blob/master/cp2k.rb|{{homebrew_logo.png? | + | [[https://aur.archlinux.org/packages/cp2k|{{arch_linux_logo.png? |
+ | [[https://formulae.brew.sh/ | ||
[[https:// | [[https:// | ||
[[http:// | [[http:// | ||
[[http:// | [[http:// | ||
+ | [[https:// | ||
==== From a third party ==== | ==== From a third party ==== | ||
Line 53: | Line 55: | ||
The code in Git is under constant development. Check the [[http:// | The code in Git is under constant development. Check the [[http:// | ||
</ | </ | ||
+ | |||
+ | The [[https:// | ||
+ | |||
+ | === Initial checkout === | ||
The latest and all prior versions are available from the [[https:// | The latest and all prior versions are available from the [[https:// | ||
Line 59: | Line 65: | ||
< | < | ||
- | git clone https:// | + | git clone --recursive |
</ | </ | ||
Line 65: | Line 71: | ||
< | < | ||
- | git clone -b support/v6.1 https:// | + | git clone --recursive |
</ | </ | ||
- | Your clone of the Git repository | + | === Keeping your clone up-to-date |
+ | |||
+ | Set the following once on your CP2K Git clone. It will tell Git to automatically update included submodules as well and to always use rebase instead of merge. | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | git config submodule.recurse true | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
< | < | ||
cd cp2k | cd cp2k | ||
Line 74: | Line 91: | ||
</ | </ | ||
- | The [[https:// | + | If you want to set the options globally |
+ | |||
+ | < | ||
+ | git config --global submodule.recurse true | ||
+ | git config --global pull.rebase true | ||
+ | </ | ||
+ | |||
+ | === Keeping your clone up-to-date (Git < 2.14) === | ||
+ | |||
+ | Set the following once on your CP2K Git clone. It will tell Git to always use rebase instead of merge. | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | git config pull.rebase true | ||
+ | </ | ||
+ | |||
+ | After setting this option, update with the following: | ||
+ | |||
+ | < | ||
+ | cd cp2k | ||
+ | |||
+ | git pull | ||
+ | git submodule update --recursive | ||
+ | </ |
download.txt · Last modified: 2024/09/09 13:25 by oschuett