Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git reset remote origin

$ git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
Comment

git reset remote

# local
git reset <commit-hash>
# or
git reset --hard <commit-hash>

# remote
git push -f origin master
Comment

PREVIOUS NEXT
Code Example
Shell :: restart gnome from terminal 
Shell :: copier un répertoire et son contenu sous linux 
Shell :: export docker container 
Shell :: install Homebrew on mac or linux 
Shell :: install brew 
Shell :: how to install homebrew using zsh 
Shell :: check android studio path linux 
Shell :: How to check a service status with systemctl command 
Shell :: TinyMCE vuejs 
Shell :: docker splunk 
Shell :: compress directory with bzip2 
Shell :: install npm colors 
Shell :: extract tar.xz linux 
Shell :: discord linux manjaro 
Shell :: how to install sshpass on mac 
Shell :: centos copy folder 
Shell :: mac flutter sdk path 
Shell :: convert cer to crt linux mint 
Shell :: linux check if using wayland or x11 
Shell :: adb screenrecord 
Shell :: linux convert to sha256 
Shell :: git diff files of different branches 
Shell :: alias bash laravel 
Shell :: linux dd show progress 
Shell :: docker created network and attach a docker container 
Shell :: cuda driver install in ubuntu 
Shell :: valet allow phpmyadmin route 
Shell :: how to run bash scripts 
Shell :: npm version 
Shell :: como instalar brew en linux 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =