scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Handy Scripts For Doing Things

Results 11 scripts issues
Sort by recently updated
recently updated
newest added

on L134, the retrieved tags can be out of order depending on the versioning scheme. I'd recommend adding ``` for submodule_tag in $(git tag --list --merged "${sub}/${branch}" | sort --version-sort...

If the remote of the main repo is not called "origin", then the script fails with ``` dirname: missing operand Try 'dirname --help' for more information. /path/to/git-submodule-rewrite: line 78: $2:...

As the submodule commits are rewritten for the prefix path (causing the hash to change), it would be great to be able to rebase them instead of merge, so the...

``` ➤ git-submodule-rewrite --verbose dev-scripts myco && echo "finished" git:dev This script will convert your "dev-scripts" git submodule into a simple subdirectory in the parent repository while retaining all contents,...

Case: The file history of a submodule in Gitlab is no longer the history of the current file, but all the commits of the submodule. I did a little research...

I am studying using this script, but it just took two hours to process one branch, and it's configured to operate on a temporary path that it deletes afterwards, so...

Hi Jeremy, I am very grateful to you for having git-submodule-rewrite script. It saved a lot of my time when getting rid of submodules in my project. I'm just curious,...

Our normal git repo's url is like: `https://gitlab.our-co.com/usonly-projects/client-A` in my .gitmodules file I had relative urls which are literally like: `../common-code` - Somehow, these relative urls workaround an issue with...

After integrating a submodule into the main repo, we noticed that there were some key pieces of our submodule that were missing and eventually determined that it was because they...

I wanted to setup a simple example with sub-modules to check/demonstrate a bug, but the script doesn't appear to work with relative paths for submodules: ``` # Initialise two empty...