File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ func CreateCommitMsg () {
7373
7474 if fileStats .TotalFiles == 0 {
7575 pterm .Warning .Println ("No changes detected in the Git repository." )
76+ pterm .Info .Println ("Tips:" )
77+ pterm .Info .Println (" - Stage your changes with: git add ." )
78+ pterm .Info .Println (" - Check repository status with: git status" )
79+ pterm .Info .Println (" - Make sure you're in the correct Git repository" )
7680 return
7781 }
7882
@@ -85,6 +89,10 @@ func CreateCommitMsg () {
8589
8690 if len (changes ) == 0 {
8791 pterm .Warning .Println ("No changes detected in the Git repository." )
92+ pterm .Info .Println ("Tips:" )
93+ pterm .Info .Println (" - Stage your changes with: git add ." )
94+ pterm .Info .Println (" - Check repository status with: git status" )
95+ pterm .Info .Println (" - Make sure you're in the correct Git repository" )
8896 return
8997 }
9098
You can’t perform that action at this time.
0 commit comments