Skip to content

Instantly share code, notes, and snippets.

#-- Script to automate
# Forked from the original to do the opposite: Switch ssh repo urls to https
# Original here:
# Thanks to @m14t
#origin or upstream
REPO_URL=`git remote -v | grep -m1 "^$REMOTE" | sed -Ene's#.*([^[:space:]]*).*#\1#p'`
* Copyright (C) 2006 The Android Open Source Project
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Unless required by applicable law or agreed to in writing, software