Skip to content

SaileshBK/Scripts

Repository files navigation

🆂🅲🆁🅸🅿🆃🆂👨🏻‍💻📜

These are some random useful scripts.

🅸🅽🆂🆃🅰🅻🅻🅰🆃🅸🅾🅽

$ git clone https://github.com/SaileshBK/Scripts.git

$ cd Script/

$ ./rebase.sh

🆁🅴🅱🅰🆂🅴.🆂🅷

!/bin/bash

Check if the current branch is clean

Fetch the latest changes from the remote repository

Rebase the current branch onto the latest version of the upstream branch

🆂🆈🅽🅲-🅰🅻🅻-🆁🅴🅿🅾🆂🅸🆃🅾🆁🅸🅴🆂.🆂🅷

!/bin/bash

Get a list of all local Git repositories

Loop through all local Git repositories

Go to the repository directory

Fetch the latest changes from the remote repository

Update all local branches with their remote counterparts

Go back to the parent directory

🆁🅴🅼🅾🆅🅴-🅴🅼🅿🆃🆈-🅻🅸🅽🅴🆂-🅵🆁🅾🅼-🅰🅻🅻-🅷🆃🅼🅻.🆂🅷

!/bin/bash

Get a list of all local Git repositories

Loop through all local Git repositories

Go to the repository directory

Find all .html files

Remove extra empty lines from the file

Stage all changes

Commit the changes

Fetch the latest changes from the remote repository

Update all local branches with their remote counterparts

Push the changes to the remote repository

Go back to the parent directory

🆆🅸🅽🅳🅾🆆🆂-🆂🆃🅰🆁🆃🆄🅿-🅿🆁🅾🅶🆁🅰🅼🆂.🅱🅰🆃

Note: The script uses the start and echo off commands to open the program and hide any command prompt windows that may appear during startup.

Make sure to Replace C:\Program Files\Program1\Program1Executable.exe with the full path to the executable file of the program you want to open during the startup of your computer. Finally, save the windows-startup-programs.bat in startup folder of your computer.

startup folder : To open the startup folder, press Windows key + R and type shell:startup and press Enter.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published