Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we use smart-commit #comment in the commit body?

Dario Gasquez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 22, 2020

Right now the smart-commit #comment command can be used only in a commit's subject, like this for example:

#comment Add Crashlytics to Xcode project [JIRA-ID]

 

But it does not work when used in the commit's body, for example:

Add Crashlytics to Xcode project [JIRA-ID]



#comment I used the manual method instead of

using CocoaPods because .....

 

According to the smart-commit documentation, this is how it works by design:

Each Smart Commit message must not span more than one line (i.e. you cannot use a carriage return in the command)

 

QUESTION:

Is there a workaround/tool that allows as to have the #comment in the body?

 

SUGGESTION:

If you are interested in these feature please vote the suggestion here:

https://jira.atlassian.com/browse/FE-7258

 

0 answers

Suggest an answer

Log in or Sign up to answer