Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

list all local branches off a branhc

git branch --contains $(cat .git/ORIG_HEAD)
Comment

list all local branches off a branhc

git show-branch | grep '*' | grep -v "$(git rev-parse --abbrev-ref HEAD)" | head -n1 | sed 's/.*[(.*)].*/1/' | sed 's/[^~].*//'
Comment

PREVIOUS NEXT
Code Example
Shell :: bash escape all special characters 
Shell :: git push origin cannot be resolved to branch 
Shell :: where does the export path file in linux 
Shell :: dir command 
Shell :: dracula theme gnome terminal 
Shell :: linux install software 
Shell :: how to make conda to use global packages 
Shell :: Remove Files and Directories 
Shell :: git combine two branches into third 
Shell :: update centos kernel version yum 
Shell :: git bash 
Shell :: connect ftp terminal ubuntu 
Shell :: ubuntu git 
Shell :: scp command from local to remote 
Shell :: set git remote heroku to https://git.heroku.com/resume-projects.git 
Shell :: git create branch 
Shell :: pyang installtion ubuntu 
Shell :: vba run shell command with arguments 
Shell :: git commit no pré commit 
Shell :: nano move line up 
Shell :: git remove repo from folder 
Shell :: docker-compose-to-always-re-create-containers-from-fresh-images 
Shell :: batch color change 
Shell :: rsyslogd verify service is running 
Shell :: linux lastpass export data 
Shell :: dirname=/usr/bin in linux 
Shell :: langkah-langkah menginstal git di terminal 
Shell :: compressed-raw-lzma kali install 
Shell :: no matches found: *.dmg 
Shell :: linux autohide cursor 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =