Reverting part of a commit with git

Use the –no-commit (-n) option to git revert, then unstage the changes, then use git add –patch: $ git revert -n $bad_commit # Revert the commit, but don’t commit the changes $ git reset HEAD . # Unstage the changes $ git add –patch . # Add whatever changes you want $ git commit # … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)