Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

creating copy of a branch

git checkout -b new_branch old_branch
Comment

how to make copy of branch in git

# initial state 
commit 2 (65bc341)   O  <-- master
                     |
     (more commits) ...
                     |
commit 1 (125afe4)   O  <-- origin/master

# run command
git push origin 125afe4:refs/heads/master-copy

# result
commit 2 (65bc341)   O  <-- master
                     |
     (more commits) ...
                     |
commit 1 (125afe4)   O  <-- origin/master origin/master-copy

Comment

PREVIOUS NEXT
Code Example
Shell :: on-root/non-service/non-daemon users 
Shell :: payfast nuget 
Shell :: xrandr non cambia la luminosità 
Shell :: source scl_source enable devtoolset-6 
Shell :: bash view specific columns from vcf file 
Shell :: how to get description of repositories using pygithub api 
Shell :: how to creare 2 shotcut links of 2 exe in inno 
Shell :: github labeler example 
Shell :: groupadd to folder linux fedora 
Shell :: Fastp github 
Shell :: bash toggle script 
Shell :: yum install firefox 
Shell :: como agreagar archivo a .gitignore y eliminarlo del repositorio 
Shell :: bash sum floating point numbers 
Shell :: how to make my htdocs folder writable on ubuntu 
Shell :: ufw script no prompt 
Shell :: terminal codes 
Shell :: linux top change delay 
Shell :: return wm_class 
Shell :: systemd show sshd services 
Shell :: get to the root directory /var/lib/docker we must access the docker virtual machine being used on our mac 
Shell :: Powershell WebAdmin 
Shell :: bash special format specifier 
Shell :: arash addine 
Shell :: sync folder from local to server with progress 
Shell :: how to access system wide etc environment variable in zsh 
Shell :: elastic sense download 
Shell :: how to fix conda activate in linux screen 
Shell :: install onedrive in ubuntu 18.04 
Shell :: get my most used command from history 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =