git how to work with remote branch and fork
Shell
Step 1) Checkout new branch `git checkout -b new-branch`
Step 2) Make changes
Step 3) Add to git `git add .`
Step 4) Commit `git commit -m "Made changes!"` or `git commit -a`
Step 5) Push to your repo `git push origin new-branch`
Step 6) Make PR from pushed branch
Step 7) Merge into dev after it passes tests
* http://jenkins.corp-domain.local/job/AwesomeProject0/
* Click "Scan Repository Now"
Step 8) Make PR from dev into master
Step 9) Merge dev into master once tests pass
Step 10) Update local copy and remote fork
* git checkout master -> git pull upstream master -> git push origin master
* git checkout dev -> git pull upstream dev -> git push origin dev
-------------
Rebase/Upstream
1. `git remote add upstream https://github.corp-domain.com/DataScienceSourceCode/AwesomeProject0.git`
2. `git remote -v`
3. `git fetch upstream`
4. Check out your fork’s local master branch by issuing `git checkout master`
5. Merge the changes from upstream/master into your local master branch by issuing `git merge upstream/master`
6. `git push`
-------------
`git fetch upstream`
`git checkout master`
`git merge upstream/master`
`git push`
Also in Shell:
- Title
- rails no migration with version number
- Category
- Shell
- Title
- install wireguard
- Category
- Shell
- Title
- git revert merge
- Category
- Shell
- Title
- ubuntu stop process on port
- Category
- Shell
- Title
- centos copy files ssh
- Category
- Shell
- Title
- set feh wallpaper
- Category
- Shell
- Title
- find exclude hidden files
- Category
- Shell
- Title
- gatsby-plugin-typography
- Category
- Shell
- Title
- ubuntu install composer
- Category
- Shell
- Title
- git checkout to remote branch
- Category
- Shell
- Title
- .gitignore not working
- Category
- Shell
- Title
- install x centos 7
- Category
- Shell
- Title
- view memory usage linux
- Category
- Shell
- Title
- git remove all files in gitignore
- Category
- Shell
- Title
- uninstall cinnamon
- Category
- Shell
- Title
- conda install paraview
- Category
- Shell
- Title
- build file.go ubuntu
- Category
- Shell
- Title
- bash write
- Category
- Shell
- Title
- shell script to check the output of a file
- Category
- Shell
- Title
- how to create gitignore
- Category
- Shell
- Title
- read text file command prompt
- Category
- Shell
- Title
- git clean cache
- Category
- Shell
- Title
- ould not change directory to "/root": Permission denied
- Category
- Shell
- Title
- git delete tag name
- Category
- Shell
- Title
- how to open port by fuser
- Category
- Shell
- Title
- install angular on mac
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- asdf node fingerprint
- Category
- Shell
- Title
- apt uninstall
- Category
- Shell
- Title
- apt remove ppa
- Category
- Shell
- Title
- install vscode ubuntu command line
- Category
- Shell
- Title
- pyinstaller sklearn
- Category
- Shell
- Title
- how to install ansible in centos
- Category
- Shell
- Title
- pip install tensorflow not working
- Category
- Shell
- Title
- configurar chave ssh gitlab
- Category
- Shell
- Title
- mac anydesk start at login
- Category
- Shell
- Title
- laravel create controller
- Category
- Shell
- Title
- change git commit message
- Category
- Shell
- Title
- kill process in windows powershell
- Category
- Shell
- Title
- python.h missing
- Category
- Shell
- Title
- python print sql in shell_plus
- Category
- Shell
- Title
- fingerprint login disabled ubuntu 20.04
- Category
- Shell
- Title
- how to create a new group in linux
- Category
- Shell
- Title
- how to change permissions on a file in linux
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- how to delete a package in ubuntu
- Category
- Shell
- Title
- git push tags
- Category
- Shell
- Title
- beautifulsoup4 install
- Category
- Shell
- Title
- git push to another repository
- Category
- Shell
- Title
- git push existing code to new repository
- Category
- Shell
- Title
- ansible only disable service if installed
- Category
- Shell
- Title
- macos install yarn
- Category
- Shell
- Title
- git go to previous branch
- Category
- Shell
- Title
- remove .svn recursively linux
- Category
- Shell
- Title
- bash send to dev null
- Category
- Shell
- Title
- check powershell version
- Category
- Shell
- Title
- stop a process running on a port
- Category
- Shell
- Title
- get $home in ubuntu
- Category
- Shell
- Title
- install maven homebrew
- Category
- Shell
- Title
- deploy to heroku
- Category
- Shell
- Title
- linux command to check memory usage in percentage
- Category
- Shell
- Title
- list of files in git commit
- Category
- Shell
- Title
- upgrade django
- Category
- Shell
- Title
- linux make executable
- Category
- Shell
- Title
- angular add modulee
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- git pull from parent branch
- Category
- Shell
- Title
- obs
- Category
- Shell
- Title
- brew minikube custom version install
- Category
- Shell
- Title
- bash ls all subdirectories
- Category
- Shell
- Title
- linux find files without string
- Category
- Shell
- Title
- how to create folder in github
- Category
- Shell
- Title
- convertingwav to mp3 linux ffmpeg
- Category
- Shell
- Title
- intall docker ubuntu command
- Category
- Shell
- Title
- linux port forward ssh
- Category
- Shell
- Title
- linux head command
- Category
- Shell
- Title
- canging branch in git
- Category
- Shell
- Title
- bash grep and sort
- Category
- Shell
- Title
- cmd add to path
- Category
- Shell
- Title
- npm install dev dependencies
- Category
- Shell
- Title
- cpoying data in batch
- Category
- Shell
- Title
- shutdown timer windows 10
- Category
- Shell
- Title
- single line comment in shell script
- Category
- Shell
- Title
- install putty on ubuntu
- Category
- Shell
- Title
- npm install jquery
- Category
- Shell
- Title
- ufw allow port
- Category
- Shell
- Title
- how to change directory linux
- Category
- Shell
- Title
- clear untracked files git
- Category
- Shell
- Title
- loop through directories bash
- Category
- Shell
- Title
- compress folder ubuntu
- Category
- Shell
- Title
- delete file linux terminal
- Category
- Shell
- Title
- find out a branch a parent branch git
- Category
- Shell
- Title
- bash find file
- Category
- Shell
- Title
- inicializar as credenciais no git
- Category
- Shell
- Title
- sudo msys2
- Category
- Shell
- Title
- why i am not able to make a directory in htdocs folder in ubuntu
- Category
- Shell
- Title
- kubernetes auto complete
- Category
- Shell
- Title
- docker compose installation
- Category
- Shell
- Title
- ubuntu apt-get update without input
- Category
- Shell