0

I am using gitlab4j API to access my GitLab Repository. I want to commit a text file from my local system to specific branch. How do I achieve this via gitlab4j API?

code-geek
  • 441
  • 1
  • 8
  • 22

1 Answers1

0

As far as I see in the documentation, there is a Commit API that you can use to manage commits.

The Commit API has a method to create a commit where you can specify the branch name, commit message and other details.

Cosmin Ioniță
  • 3,598
  • 4
  • 23
  • 48