Skip to content

defder-su/SaveGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SaveGit

The collection of scripts for git.

Features:

  • Save specified repositories.
  • Save all repos hosted by GitHub user.
  • Save by lists.

Installation (Linux, macOS):

Install git, curl, jq and MiceWeb.

Create a folder where you want your repositories downloaded in a drive where you have enough space available (recommended a small cluster size).


Installation (Windows):

Install WSL (requires about 2GB disk space), Cygwin, Git Bash, or some other tool that enables Bash functionality in Windows.

Follow the above section.


Usage:

Open a terminal in the folder and run ./save or other script with arguments.

Save a new repo:

./save https://github.com/defder-su/SaveSites.git

Save GitHub user's repos:

./save https://github.com/defder-su

Save list:

./save_by_list example.txt

Save default list:

./save_by_list collection.txt

./save_collection


TODO:

Updating resaved repositories (using git fetch and git pull), updating all saved with a command like ./save_updates.

How to save related data like issues, pull requests etc.? See thread.

Clone repositories into subfolders.


Related Projects:

About

The collection of scripts for git.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages