Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create new branch with commit id

git checkout -b <new branch> <commit id>
Comment

create new branch from commit

git branch branch_name <commit-hash>

git checkout branch_name
git push --set-upstream origin branch_name
Comment

PREVIOUS NEXT
Code Example
Shell :: how to update alias in linux 
Shell :: git stash back 
Shell :: install makerbundle sur symfony 3.4 
Shell :: install qt4-qmake ubuntu 
Shell :: tar exclude directory 
Shell :: add passphrase to ssh agent 
Shell :: get first few characters of file linux 
Shell :: powershell command history file 
Shell :: shell read file line by line 
Shell :: xcode print long string 
Shell :: docker remove not running containers 
Shell :: kill a port in ubuntu 
Shell :: maven skip test 
Shell :: git compare branch to another branch changes 
Shell :: git checkout certain files 
Shell :: install samba on raspberry pi 
Shell :: ubuntu server restart 
Shell :: create gitignore 
Shell :: brew sdkman 
Shell :: how to give all permission to a directory in linux 
Shell :: git change commit author for all commits 
Shell :: wait command bash 
Shell :: bash limit memory use of a function 
Shell :: linux get current user 
Shell :: git push repo 
Shell :: change the file type of multiple files once in windows 
Shell :: pip version ubuntu 
Shell :: ffmpeg change resolution 
Shell :: how to open pdf from ubuntu terminal 
Shell :: git name repository 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =