Created
June 28, 2019 19:31
-
-
Save goneri/f71f38dc79878560233cc22d0b0cf2a6 to your computer and use it in GitHub Desktop.
Prepare a dev work env for Ansible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/fish | |
set github_account "goneri" | |
#git clone [email protected]:ansible/ansible upstream | |
for i in a b c | |
set -x GIT_DIR $i/.git | |
git clone --shared --origin upstream upstream $i | |
git remote add goneri [email protected]:{goneri}/ansible.git | |
git remote add origin https://github.com/ansible/ansible | |
end | |
set -x GIT_DIR upstream/.git | |
git remote add a ../a | |
git remote add b ../b | |
git remote add c ../d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment