Iceberg and git repository management
Hi, is Iceberg (or its git subsytem) capable of more than just Pharo code management? More specifically, would it be possible with Iceberg to commit e.g. a change to a README.md or .travis.yml file in the repository? Thanks, Peter
Hi Peter, It will be possible and is already doable but with no ui support. You can use these messages: iceRepository contentOfFileNamed: 'relative/path/from/git/repo/rootâ commit: repository headCommit id iceRepository saveContent: âblaâ inWorkingCopyFile: ârelative/path/from/git/repo/rootâ. It adds the file to the git index. You still need to commit the index with the message #commitIndexWithMessage:andParents: after the file is written. Also, take care to not write Pharo code after that as it will override your working copy. Christophe
Le 16 avr. 2017 à 12:26, Peter Uhnak <i.uhnak@gmail.com> a écrit :
Hi,
is Iceberg (or its git subsytem) capable of more than just Pharo code management?
More specifically, would it be possible with Iceberg to commit e.g. a change to a README.md or .travis.yml file in the repository?
Thanks, Peter
participants (2)
-
Christophe Demarey -
Peter Uhnak