git checkout public_branch
git pull
git checkout -b local_branch
# do stuff here
git fetch origin
git rebase origin/public_branch
git checkout public_branch
git pull
git rebase local_branch
git push
Reference:
https://randyfay.com/content/rebase-workflow-git
Friday, July 26, 2019
Tuesday, May 14, 2019
Docker setup on Linux
# Install
sudo apt install docker.io
# Allow current user as docker user
sudo groupadd docker
sudo usermod -aG docker $USER
# Logout and re-login so that new permission can take effect
exit
# Test run
docker run hello-world
sudo apt install docker.io
# Allow current user as docker user
sudo groupadd docker
sudo usermod -aG docker $USER
# Start docker daemon
sudo service docker start# Logout and re-login so that new permission can take effect
exit
# Test run
docker run hello-world
Subscribe to:
Posts (Atom)