query: How to get the name of the current git branch into a variable in a shell script?
positive_passages.docid: 147235
positive_passages.text: How to programmatically determine the current checked out Git branch
negative_passages.docid: 2501
negative_passages.text: How do I show the git branch with colours in Bash prompt?
negative_passages.docid: 130918
negative_passages.text: How do I get information about a git repo using absolute paths
negative_passages.docid: 14303
negative_passages.text: How can I create an alias for a git [action] command (which includes spaces)?
negative_passages.docid: 35280
negative_passages.text: How to get the last argument to a /bin/sh function
negative_passages.docid: 99254
negative_passages.text: How can I rename a git stash?
negative_passages.docid: 19042
negative_passages.text: Changing capitalization of filenames in Git
negative_passages.docid: 11294
negative_passages.text: Git command to find what branches were merged into current branch and when
negative_passages.docid: 99250
negative_passages.text: How do I read the source code of shell commands?
negative_passages.docid: 26048
negative_passages.text: How do I know the script file name in a Bash script?
negative_passages.docid: 25118
negative_passages.text: How can I display the current branch and folder path in terminal?
negative_passages.docid: 25802
negative_passages.text: When writing a bash script, how do I get the absolute path of the location of the current file?
negative_passages.docid: 104154
negative_passages.text: How to echo "$x_$y" in Bash script?
negative_passages.docid: 108795
negative_passages.text: How to use a variable's value as another variable's name in bash
negative_passages.docid: 144996
negative_passages.text: How do I get the path my script is running in?
negative_passages.docid: 64218
negative_passages.text: Storing output of command in shell variable
negative_passages.docid: 94904
negative_passages.text: Obtaining the name of a variable as a string