Menu
Horje
Hi !
Welcome,
Guest
Close Menu
Home
Coding
Code Example
Download
Home
Coding
Code Example
Can we store the name of the current branch in a variable in bash Code Example
can we store the name of the current branch in a variable in bash
branch_name=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
Next
Previous
Shell
Related
how to check if automatic system updates are working on fedora Code Example
bash multipart tar Code Example
pycocotools install error Code Example
run existing image docker Code Example
how to remove first colum froim file linux Code Example
Type
:
Code Example
Category
:
Coding
Sub Category
:
Code Example
Uploaded by
:
Admin
Views
:
11