Skip to content

Don't be an internet orphan while searching for scripts

Notifications You must be signed in to change notification settings

j1i-ian/scripts4u

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📜 Scripts (may be needed) for you

This is the GUIDE for

  • 🔵🪟 Using the bash script on Windows
  • Integrating popular tools with bash scripts
  • ⚙️ Reducing repetitive tasks

Git integrates easily with bash, allowing efficient control of its resources. However, many developers are unfamiliar with Git’s internal structure, such as branch statuses, .git objects, and its limitations, making it hard to create effective scripts.

The scripts below remove local branches and tags that are not present on the remote. Before running, push your work or back it up using the git archive command.

Too many branches or tags can make switching or checking out cumbersome:

  • prune-local-branches.sh - Removes local branches.
  • prune-merged-branches.sh - Removes local branches that have been merged.
  • prune-tags-except-latest.sh - Removes all local tags except the latest.

AWS CLI Tools

AWS offers tools for building infrastructure, though they come with limited examples. Fortunately, AWS provides command-line tools that can easily integrate with IDEs and terminals.

AWS CLI

AWS SAM

Appendix

WSL2 and Git Bash

Today, setting up WSL2 makes development on Windows quite comfortable. However, situations can arise where:

You need to connect with PowerShell scripts for a project Local development is essential IDE settings are difficult to manage in WSL2 For such cases, running scripts directly on Windows may be unavoidable. Windows Terminal and tools like choco have improved the development environment, but Linux is still superior for development tasks. A compromise is using Git Bash, which brings Linux-like command capabilities to Windows with minimal setup.

About

Don't be an internet orphan while searching for scripts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages