Skip to content

Commit

Permalink
Minor update to sparse checkout doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed May 17, 2023
1 parent 3e3c31c commit ba1be53
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/contributing.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs_rst/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ba1be53

Please sign in to comment.