Empty Commits

Empty Commits You can create an Git commit without any changes by adding the --allow-empty flag to the commit command. It should look like the following command: git commit --allow-empty -m "Commit message" Use Cases Empty commits can be useful for a variety of reasons, such as: Triggering a CI/CD pipeline Marking a point in time Adding a commit message to a branch

June 9, 2024 · 1 min · 63 words · Xavier Loera Flores

API Documentation

API Documentation Whether writing API documentation for a Web API or a Platform API, good API documentation will usually contain two key major components: Overview Reference Overview The overview section is best used to explain why or how an API should be used. This is section for providing developers with information allowing them to quickly read steps to getting started, key concepts, and other sample tutorials and use cases. The following sections may be found in an Overview section:...

May 31, 2024 · 1 min · 142 words · Xavier Loera Flores