-
Notifications
You must be signed in to change notification settings - Fork 879
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor update to sparse checkout doc.
- Loading branch information
Shyue Ping Ong
committed
May 17, 2023
1 parent
3e3c31c
commit ba1be53
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,10 +42,10 @@ Direct contributions to pymatgen main distribution | |
git clone -n --depth=1 --filter=tree:0 [email protected]:materialsproject/pymatgen.git | ||
cd pymatgen | ||
|
||
# if you have Git 2.25+, you can use the sparse-checkout command. | ||
# If you have Git 2.25+ (released 2023-01-01), you can use the sparse-checkout command (uncomment the next line). | ||
# git sparse-checkout set --no-cone pymatgen setup.py pyproject.toml requirements.txt requirements-optional.txt | ||
|
||
# The code below should work for any git after 2012. | ||
# If you are on a system with an older version of git, run the commands below. | ||
git config core.sparseCheckout true | ||
echo pymatgen >> .git/info/sparse-checkout | ||
echo setup.py >> .git/info/sparse-checkout | ||
|