user6546
6 days agoNew Member
Replicating GUI function with CLI
I have been using the GUI to push commits to our instance of CC online.
On the web, these contributions appear like this:
If I try to make the same submission using the CLI, i.e.
ccollab addgitdiffs --upload-comment "My commit message from git" 300 abcdec0123~ abcdec0123... then it appears on the web like:
The CLI as two distinct differences:
- The "Hash" is not populated, even though the CLI args provide this information; and
- The CLI appends "Diff Generated By..." even though the help says --upload-comment "defaults to command line arguments" (suggesting it should be entirely replaceable if --upload-comment is provided).
Questions:
How can I make my CLI contributions match the GUI? Specifically:
- How do I set the value appearing in the Hash column with the CLI; and
- How can I stop the CLI appending the "Diff Generated By..." remark to the end of my messages?