Gitlab Generate Changelog Script

人走茶凉 提交于 2019-12-10 11:53:01

问题


Using Gitlab for the first time.

I had an existing web project on my local PC, I ran these commands;

cd /myFolder
git init
git add .
git remote add origin remote repository URL
git commit -m "First commit"
git push origin master

This added all my files to my remote repo - all working well so far.

I noticed that on the gitlab website, on my project page, there was a button Add Changelog (as well as add readme, add licence, etc.). I clicked this button and an empty changelog.md was created in my folder, which i've been able to pull into my local repo.

How do I generate changelog entries?

I've read the documentation and this question but I still don't understand.

I can't see a bin/changelog anywhere in my local repo.

Do I have to clone the whole Gitlab repo somewhere?

Any advice is appreciated.


回答1:


It's up to you how you'd like to manage changelog.md. Take a look at other questions like Good ways to manage a changelog using git? for examples of generating changelogs from git commit messages.

The documentation you linked to is about generating changelogs for the GitLab projects (ce/ee). It's not a feature for repositories hosted on GitLab.



来源:https://stackoverflow.com/questions/51632525/gitlab-generate-changelog-script

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!