jackhammer
                                
                                
                                
                                    jackhammer copied to clipboard
                            
                            
                            
                        Which branch is scanned by default when scanning git repos?
Hi,
Which branch is scanned by default when scanning git repos? Can I change the branch somewhere?
by default it scans Master branch . you can change branch name while adding target
                                    
                                    
                                    
                                
@KMadhuSudhan Hey, Can I change it in some config if possible? Also, why does this option doesn't come in corporate scan? By default, I want to scan develop branch always.
We removed this feature due to the multi selection of teams and repos.Changing the branch name available only in personal scans .
@KMadhuSudhan Makes sense. Can you point me to file where I can change the branch from master to develop and rebuild for internal use?
you can change in  web/app/app/workers/base.rb .
line no : 41
code: branch = branch.present? ? branch : 'master'
change to:  branch = branch.present? ? branch : 'develop'