Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change remote origin to fork

1. Fork their repo on Github
2. In your local, rename your origin remote to upstream

    git remote rename origin upstream

3. Add a new origin

    git remote add origin git@github...my-fork

4. Fetch & push

    git fetch origin
    git push origin
Comment

change remote origin to fork

1. Fork their repo on Github
2. In your local, rename your origin remote to upstream

    git remote rename origin upstream

3. Add a new origin

    git remote add origin git@github...my-fork

4. Fetch & push

    git fetch origin
    git push origin
Comment

PREVIOUS NEXT
Code Example
Shell :: linux bash command to clean up log files in /var/log 
Shell :: how to add color in text github readme 
Shell :: powershell on linux 
Shell :: git syntax 
Shell :: Errors were encountered while processing: libglx-mesa0:amd64 
Shell :: enable wifi raspberry pi headless 
Shell :: 7zip command line 
Shell :: npm install less-loader 
Shell :: install adb 
Shell :: powershell check file extension 
Shell :: grep nth line after match 
Shell :: git set upstream remote branch 
Shell :: bash script language check if item in array 
Shell :: linux ogg to wav 
Shell :: install next.js 
Shell :: python run java jar 
Shell :: how to show ubuntu logo in terminal 
Shell :: select ords version 
Shell :: docker-compose update changes 
Shell :: chromium on linux 
Shell :: install older version of laravel 
Shell :: crontab command not found 
Shell :: snap install slack 
Shell :: gitlab change commit message 
Shell :: change global user name git 
Shell :: add local folder to git repo 
Shell :: ubuntu history without duplicates 
Shell :: install choco windows 10 
Shell :: how to delete particular type file recursively in linux 
Shell :: problem detected port 80 in use by unable to open process with pid 4 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =