Open lachlandeer opened 1 year ago
A useful pieice of code to archive student repositories at the end of the semester:
First (after installing gh
via homebrew or apt install
):
gh repo list --no-archived --limit XXX --private --source --json nameWithOwner --jq ".[].nameWithOwner" > repos_names.txt
Then:
cat repos_names.txt | while read in; do gh repo archive -y "$in"; done
still think this is useful for the wider community ...
Contact Details
No response
Is your content request related to a problem you've encountered during your research process? Please describe.
Some work thru tutorials on the using GitHub Classroom
Additional context
No response
Would you like this to be a Building Block or a Tutorial?
Tutorial
Purpose
No response
Motivation
No response
Suggested title
No response
Suggested keywords
No response
Required tools
No response
References
No response
Code of Conduct