Find & Replace with yours:
→Description.Fixed severe production problem
M.m.f
→ Version.
Create Branch
git checkout master;git pull origin master;
git checkout master;git checkout -b hotfix-M.m.f master;
Update “M.m” to /README.md
.
git add readme.md;
git commit -m "Bumped version number to M.m.f"
Add & Commit Files Changes
git commit add path/to/file.ext;
git commit add path/to/file2.ext;
git commit -m "Fixed severe production problem"
Finish Branch
git commit -m "Fixed severe production problem";git checkout master;
git merge --no-ff hotfix-M.m.f -m "rel M.m.f";
git tag -a M.m.f -m "Fixed severe production problem";
git checkout develop;git merge --no-ff hotfix-M.m.f -m "rel M.m.f";
git branch -d hotfix-M.m.f;
git push origin develop;git push origin master;git push origin M.m.f;