Horje
git issues Code Example
git issues
1.//git push to wrong branch
git checkout bug-fix   //goto correct branch
git cherry-pick main   //last commit of main branch to bug_fix

2.//revert main branch
git checkout main
git reset --hard HEAD~1  //change to prev state.


//git reverse last push
git reset --hard <revision_id_of_last_known_good_commit>
git push --force    //prev state will push


//merge conflict
1.git merge --abort

2.Resolve the conflict.

3.Don't forget to add and commit the merge.

4.git pull ,now should work fine




Shell

Related
rclone conf location on windows Code Example rclone conf location on windows Code Example
run mongo docker image on ubuntu 20 Code Example run mongo docker image on ubuntu 20 Code Example
Err:5 http://archive.ubuntu.com/ubuntu focal/main amd64 libgif7 amd64 5.1.9-1 Temporary failure resolving 'archive.ubuntu.com' Code Example Err:5 http://archive.ubuntu.com/ubuntu focal/main amd64 libgif7 amd64 5.1.9-1 Temporary failure resolving 'archive.ubuntu.com' Code Example
visule stdio fro kali Code Example visule stdio fro kali Code Example
mx linux how to see gpu Code Example mx linux how to see gpu Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10