Adding private git repo via cPanel

CLONE GITHUB REPOSITORY TO CPANEL STEPS steps 1. Cpanel -> SSH Access -> Generate New Key(without enter pasword)->after generated key go to under public key-> manage-> authorize (make authoize) -> back, now view/download-> copy key Step 2. Go Github-> https://github.com// -> Settings(repository setting) ->Deploy Keys (rights side)-> add deploy key (give title,and add key)-> done … Read more

GIT undo a commit that isn’t the most recent, rebase all commits since

The easiest way to do what you want is to stay on (or re-checkout) the branch that you want to edit and run something like this. git rebase –onto <sha1-of-bad-commit>^ <sha1-of-bad-commit> This will rebase everything since the bad commit onto the bad commit’s parent, effectively removing the bad commiit from your current branch’s history. Of … Read more

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