Stuck on building an application that has dependency on multiple repos with predefined folder structure? Wants to bundle your git repositories and redeploy it on to another pc? Git Capsules can help!
Git Capsules is a small desktop application that can read your Git repositories and reproduce them on another machine with the same folder structure.
- It gives you the ability to select your Git Repos Folder and create a bash script based on the Repo [master origin] URL and commit Id. The Bash script can be run on any machine and will…
- Recreate the same folder structure and clone repos (if they doesn’t exist)
- Stash changes (if a repo exists and contains uncommitted changes)
- Checkout a detached head at the designated Commit Id
- Every bash script generated can be saved as JSON and recreated. Next time you need another bash script with the same repos but with different commit, just refresh and Export. See example Below.
- Select your git repos directory. it can be a root directory of multiple git repos.
- Checked off git repos you wish to export/copy, Fill out bash file info on the right.
- run generated bash script on to another pc.
- Capsules (dropdown)
- Collection of repos. If no repos are selected, app would not save a record.
- Filename (textfield)
- Name of Bash File.
- ExportLocation (dialog)
- export location of bash file.
- Comment(textarea)
- Optional, comment will display when user open bash script.
- Clone (if repo doesnt exist)
- Stash your local changes (if repo exist)
- Checkout the commit you specified in the app.
- A report will be generated at the end.