There are security measures set on each deployment. They are placed in such a way they can perfom a scan on each users script. When users sync codes to linked repository (github , gitlab etc) , the script maybe tagged as "sensitive information" and will be denied to the push request.
Even after completely wiping the script and starting over with the code to avoid this error, they are still unable to push to the github, gitlab etc. This would tell us there are still remnants of the code initially scanned by the organizations security measures .
We can address this by simply removing git cache.
The easiest way to clear your Git cache is to use the “git rm” command with the “–cached” option.
We can also use :
> git rm -r --cached .
> git add .
> git commit -m 'git cache cleared'
> git push
Comments
0 comments
Please sign in to leave a comment.