Neuerstellung
This commit is contained in:
6
git-remote-save
Normal file
6
git-remote-save
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
gitTop=$( git rev-parse --show-toplevel 2> /dev/null )
|
||||
[[ "" == "$gitTop" ]] && exit 0
|
||||
gitRemotes=$gitTop/.gitremotes
|
||||
[[ "$( git remote -v )" == "" ]] && exit 0
|
||||
git remote -v > $gitRemotes
|
||||
Reference in New Issue
Block a user