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
| #!/bin/bash | |
| # Get all branches in the repository | |
| branches=$(git branch --list) | |
| # Iterate through each branch | |
| for branch in $branches; do | |
| # Remove leading asterisk from branch name | |
| branch=${branch#* } | |
| # Checkout the branch |
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
| #!/bin/bash | |
| # Get all folders in main branch | |
| folders=$(ls -d */) | |
| # Iterate through each folder | |
| for folder in $folders; do | |
| # Remove trailing slash from folder name | |
| folder=${folder%/} | |
| # Convert folder name to lowercase and add hyphen before uppercase letter, except the first letter |
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
| git branch -r | grep -v '\->' | sed "s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
| git fetch --all | |
| git pull --all |
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
| 181/bin/bash | |
| 2 android studio projects/home/SUSER/AndroidstudioProjects" 3 ssh config/home/SUSER/.ssh 4gitkraken config/home/SUSER/.gitkraken" | |
| 5git config/home/SUSER/.gitconfig" 6 downloads/home/SUSER/Téléchargements | |
| 7 | |
| 9 if tdsdownloads" 1: |
NewerOlder