Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git sync trunk with gh-pages branch

// Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/

$ git add .
$ git status // to see what changes are going to be commited
$ git commit -m 'Some descriptive commit message'
$ git push origin trunk

$ git checkout gh-pages // go to the gh-pages branch
$ git rebase trunk // bring gh-pages up to date with trunk
$ git push origin gh-pages // commit the changes
$ git checkout trunk // return to the trunk branch
Comment

PREVIOUS NEXT
Code Example
Shell :: bit bucket 
Shell :: ls list with just names 
Shell :: Git pull is ahead by x commit 
Shell :: ros2 build from source 
Shell :: Install GIMP Ubuntu 18.04 terminal 
Shell :: i2c-tools, i2c 
Shell :: find a match: docker-compose-plugin 
Shell :: delete remote branch git 
Shell :: uninstall nvim arch 
Shell :: Linux search manual and list all pages with term 
Shell :: how to take a screenshot of the login or lock screen in ubuntu linux 
Shell :: Shell script to adjust screen mode 
Shell :: push the branch with the correct name, and reset the upstream branch 
Shell :: pulish changes to firebase function 
Shell :: missing package statement intellij 
Shell :: terminal shortcuts 
Shell :: how to check apt upgradable size 
Shell :: make your react an electron desktop app 
Shell :: linux cp files with number range 
Shell :: ubuntu show RLIMIT_NOFILE 
Shell :: GIT: borrar repositorio local git 
Shell :: what is /bin/ash 
Shell :: Change Firewall setup 
Shell :: influxdb save time range to csv 
Shell :: PortableVisibilityConverter 
Shell :: updating package manager cause missing reference unity 
Shell :: linux c programming for loop 
Shell :: how to uninstall nginx in ubuntu 20.04 
Shell :: dgvai/laravel-adminlte-components 
Shell :: git bash option is not coming 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =