Closed OpenBagTwo closed 1 year ago
GIVEN Alex is playing a game that she wants to manage with gsb AND she knows where all of the save data lives
gsb
WHEN she:
gsb init my_save_file
THEN:
.git
my_save_file
SO that Alex doesn't need to run the underlying git commands herself (see note)
git
So under the hood, the equivalent operations would be:
$ git init $ echo my_save_file >> .gsb_manifest $ while read pattern do; git add $pattern; done < .gsb_manifest $ git commit -m "Start tracking with gsb" $ git tag -a "v$(date +%Y.%m.%d)" -m "Start tracking with gsb"
GIVEN Alex is playing a game that she wants to manage with
gsb
AND she knows where all of the save data livesWHEN she:
THEN:
gsb
will create a.git
folder in the current working directorygsb
will begin trackingmy_save_file
(and all its contents if it's a directory) but no other files in the directorygsb
will create an initial commit and tag it with "Began tracking"SO that Alex doesn't need to run the underlying
git
commands herself (see note)Notes
So under the hood, the equivalent operations would be: