mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Merge f29daef297 into 22f827e122
This commit is contained in:
commit
25f4369f05
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ exist_gh() { # [DIRECTORY]
|
|||
cd "$1"
|
||||
name=$( git config user.name )
|
||||
ghuser=$( git config github.user )
|
||||
repo=$1
|
||||
|
||||
git remote add origin git@github.com:${ghuser}/${repo}.git
|
||||
git push -u origin master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue