Q:

How can I modify JIRA link linked to my Commit after commit?

I made a commit with Jira link issue but I made a mistake in number id of an issue so I wanna to change it to the correct Jira link issue.
any help

A:

Try this:
$ git reset --soft HEAD~1         # undo last commit
# fix the link here

$ git add .
$ git commit -m 'Fix jira link'      
$ git push -f origin HEAD         # (-f) force push, replace the remote history by local

