Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git pull remote changes to local

git checkout my_branch    # move on your branch (make sure it exists)
git fetch origin          # fetch all changes
git pull origin master    # pull changes from the origin remote, master branch and merge them into my_branch
git push origin my_branch # push my_branch
Comment

how to pull remote changes to local branch

git pull origin my_remote_branch
Comment

how to pull changes from a local branch

git pull . master
Comment

PREVIOUS NEXT
Code Example
Shell :: powershell open current path in explorer 
Shell :: git stash error: unknown switch `e‘ 
Shell :: install tar.xz on linux 
Shell :: it is required that your private key files are not accessible by others ubuntu 
Shell :: linux history delete line 
Shell :: bash ls and pick 2nd column 
Shell :: tasksel uninstall package 
Shell :: Git Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
Shell :: ubuntu bluetooth dongle not working 
Shell :: screenshot in ubuntu 
Shell :: No such keg: /usr/local/Cellar/git 
Shell :: install redis on ubuntu 20.04 
Shell :: how to run multiple npm scripts parallel 
Shell :: create a new github repository 
Shell :: Export SSH Auth Key 
Shell :: cmd for pushing to github for the first time 
Shell :: how uninstall composer 
Shell :: bitnami cert 
Shell :: github undo last pushed commit 
Shell :: install grub efi arch 
Shell :: ubuntu open with software install not working 
Shell :: zsh git aliases 
Shell :: find files linux newer than 
Shell :: curl insecure 
Shell :: open cmd in current directory 
Shell :: ffmpeg extract frames resize 
Shell :: how to install msfconsole in ubuntu 
Shell :: how to create an alias 
Shell :: bash read input 
Shell :: install npm package globally 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =