Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git branch from commit

You can create the branch via a hash:

git branch branchname <sha1-of-commit>
Or by using a symbolic reference:

git branch branchname HEAD~3
To checkout the branch when creating it, use

git checkout -b branchname <sha1-of-commit or HEAD~3>
Comment

PREVIOUS NEXT
Code Example
Shell :: bash file comment 
Shell :: pen() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), client: 
Shell :: linux command line search file by size 
Shell :: add anaconda to bash 
Shell :: git pull request 
Shell :: install git bash windows 10 
Shell :: dns benchmark arch linux 
Shell :: List all installed programs or desktop application 
Shell :: mono-complete arch 
Shell :: git add remote 
Shell :: what is git 
Shell :: what is my user ubuntu 
Shell :: linux create a video from images 
Shell :: recursive grep recursion depth 
Shell :: centos 7 ius-release.rpm 
Shell :: multiline comment in bash 
Shell :: pip install kivy 
Shell :: ffmpeg video size reduction 
Shell :: start scipt at startup ubuntu 
Shell :: add husky commitlint 
Shell :: git push local repo to remote 
Shell :: open folder 
Shell :: remove a directory in ubuntu 
Shell :: bash store pipe output in variable 
Shell :: composer installation cmd 
Shell :: how to scp from remote machine to local machine 
Shell :: crontab example 
Shell :: bash: rspec: command not found 
Shell :: move a file to /opt 
Shell :: change your default términal 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =