We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d7e9f commit 37244dfCopy full SHA for 37244df
1 file changed
functions/git
@@ -109,19 +109,6 @@ git_pull_all() {
109
git_browse 'git default --quiet && git pull --quiet && git sweep'
110
}
111
112
-git_remote_repository() {
113
- if ! git_is_inside; then
114
- return
115
- fi
116
-
117
- local REMOTE_URL
118
- REMOTE_URL="$(git remote get-url --push "$(git remote show | head -1)")"
119
120
- if [[ ${REMOTE_URL} =~ ^.*@.*:(.*)\/([^\.]*)(.git)?$ ]]; then
121
- printf -- "%s/%s" "${BASH_REMATCH[1]}" "${BASH_REMATCH[2]}"
122
123
-}
124
125
git_is_merge_commit() {
126
if [[ ${1} =~ Merge\ (pull\ request|branch) ]]; then
127
return 0
0 commit comments