6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 08:28:48 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
823a522a97 Add a --bundle flag accepting a bundle file of repos to clone
Also refactor CloneRepo to accept CloneOpts as agruments - makes it cleaner and easier to test.
2020-06-12 17:01:35 +02:00
Grzegorz Dlugoszewski
dfef6151d1 Add a --branch flag that specifies which branch or tag to check out after cloning 2020-06-08 21:37:26 +02:00
Grzegorz Dlugoszewski
4765d943ec Count commits ahead and behind the upstream branch 2020-06-08 17:16:46 +02:00
Grzegorz Dlugoszewski
ee26ddc38f Add a --fetch flag to first fetch from remotes before printing repos status 2020-06-08 14:54:19 +02:00
Grzegorz Dlugoszewski
f3d0df1bfd Refactor packages structure
- Isolate files into their own packages
- Create new printer package and interface
- Refactor Repo stuct to embed the go-git *Repository directly
- Simplify cmd package
2020-06-08 12:07:03 +02:00