1

I always struggle to write commit messages for each package in android,when i upload the project to the GitHub,i want to have good different commit message for each package in my repository.

Is there any suggestions please?

Here is my Screenshot:

As you see the packages,how can i write different commit message?

Zig Razor
  • 3,381
  • 2
  • 15
  • 35
Mohammed Qadah
  • 75
  • 1
  • 10

1 Answers1

1

The commit message is hard linked with a commit.

It is not possible to have multiple commit message in the same commit.

If you want different commit message for every package you need to do a commit for every single package.

Zig Razor
  • 3,381
  • 2
  • 15
  • 35
  • I had seen a lot of android projects in **Github** which has different messages in each **package** or **file**.how can i make commit for every single package? – Mohammed Qadah Dec 21 '19 at 14:52
  • this is another simple question: [How to git commit a single file/directory](https://stackoverflow.com/questions/8795097/how-to-git-commit-a-single-file-directory) – Zig Razor Dec 21 '19 at 14:58
  • please vote up and accept the response if you think is usefull – Zig Razor Dec 21 '19 at 14:59