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 :: install opera ubuntu terminal command 
Shell :: git untrack file 
Shell :: firewall-cmd add port 
Shell :: how to check if port is open mac 
Shell :: km player in ubuntu 20 
Shell :: install angular animation 10.0.12 
Shell :: mkv to mp4 linux 
Shell :: increment number bash 
Shell :: expo start release mode 
Shell :: how to stop mongodb in linux 
Shell :: if argument bash 
Shell :: download nbextensions 
Shell :: install epel amazon linux 2 
Shell :: restart ubuntu from terminal 
Shell :: git reset keep changes 
Shell :: shell script current time 
Shell :: powershell tolower 
Shell :: chrome skia shader compilation error 
Shell :: cf rolling restart 
Shell :: restart webmin 
Shell :: tays vimrc 
Shell :: history suggestion in terminal 
Shell :: composer require maatwebsite/excel install 
Shell :: change owner directory linux 
Shell :: install torchtext 
Shell :: conda install lightgbm 
Shell :: curl localhost 
Shell :: ffmpeg trim video 
Shell :: install docker on centos 
Shell :: pip install tkinter 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =