- August 10, 2018 at 5:59 am #31467Prachi #9
What does commit object contains in Salesforce?
What does commit object contains in Salesforce?August 10, 2018 at 6:12 am #31468madhulika shah #12
A commit is described by a parent commit and a set of file modifications. This is enough to represent the version of the code at this commit. Indeed to find the code at this commit, you take the code from the parent commit and apply it the given set of modifications. This allows to keep a complete history of your code without having to store individually each version of each file. The file modifications are mainly add a line in a file, and delete a line. You can also rename a file, add a new file and delete a file.
A commit also contains informations about the author, the creation date and the message which was published with. A commit is identified by a hash, which is used in git commands to refer to this particular commit.September 28, 2018 at 5:35 pm #39512
Please Register to reply to this topic. /