Skip to content

Commit 37244df

Browse files
committed
feat: Moving remote repository to dotfiles
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
1 parent b3d7e9f commit 37244df

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

functions/git

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,6 @@ git_pull_all() {
109109
git_browse 'git default --quiet && git pull --quiet && git sweep'
110110
}
111111

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-
fi
123-
}
124-
125112
git_is_merge_commit() {
126113
if [[ ${1} =~ Merge\ (pull\ request|branch) ]]; then
127114
return 0

0 commit comments

Comments
 (0)