This file contains 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/sh | |
:' | |
This is an automated bash script to delete git branches older than some specific time period. | |
The default set time is 3 months, but you can pass the period in months as a first parameter while running the shell script | |
' | |
declare -i numberOfMonths=3 # Declare the default period in months | |
declare blackListedBranches # Blacklisted branches | |
clear=clear # Command to clear terminal | |
ECHO='echo ' # Custom echo |
This file contains 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
## Follow this link for further updates to Github Desktop for Ubuntu https://github.com/shiftkey/desktop/releases/latest | |
# UPDATE (2022-11-07): Thanks to Sxvxgee's message, the updated code is as follows | |
sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb | |
### Uncomment below line if you have not installed gdebi-core before | |
# sudo apt-get install gdebi-core | |
sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb | |
# UPDATE (2021-10-18): Thanks to Amin Yahyaabadi's message, the updated code is as follows |