- add locking
- install datalad
datalad create -f [folder]
.gitignore
This file contains hidden or 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
| git rev-list --objects --all | | |
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | | |
| sed -n 's/^blob //p' | | |
| sort --numeric-sort --key=2 | | |
| cut -c 1-12,41- | | |
| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes
git add .gitmodules - Delete the relevant section from .git/config.
- Run
git rm --cached path_to_submodule(no trailing slash). - Run
rm -rf .git/modules/path_to_submodule(no trailing slash). - Commit
git commit -m "Removed submodule <name>" - Delete the now untracked submodule files
rm -rf path_to_submodule
This file contains hidden or 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
| # Packages installed via apt-get packages | |
| # apt-get install r-cran-v8 | |
| # apt-get install "r-cran-rcpp.*" r-cran-reticulate r-cran-rjava r-cran-devtools r-cran-doparallel r-cran-sf r-cran-lwgeom r-cran-lme4 r-cran-ade4 r-cran-ape r-cran-vegan r-cran-igraph r-cran-rgl r-cran-webshot r-cran-cli r-cran-pillar r-cran-taxize r-cran-repr r-cran-reprex r-cran-biocmanager | |
| # r-cran-plotly r-cran-cairodevice | |
| # CRAN packages - complement the list of packages installed via apt-get | |
| install.packages( | |
| c( | |
| "bipartite", | |
| "blogdown", | |
| "bookdown", |
inspired by Teaching with open source presentation service Reveal.js
- Create a git repository (eg. on github)
- Clone it to your desktop _(via ssh)
git clone git@github.com:yourusername/newrepository.git
- change into the new directory
cd newrepository/
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule
This file contains hidden or 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
| scale_x_discrete(limits = rev(levels(the_factor))) |
NewerOlder