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
| 1 Donwload load a repo from BitBucket | |
| ``` | |
| git clone https://[email protected]/USER/PROJECT.git | |
| cd PROJECT | |
| ```Bash | |
| 2 Download all branches | |
| ``` | |
| git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| or |