mirror of
https://github.com/aljazceru/gitpear.git
synced 2025-12-17 22:24:22 +01:00
@@ -32,6 +32,8 @@ program
|
||||
const name = fullPath.split(path.sep).pop()
|
||||
if ((home.isInitialized(name))) {
|
||||
console.error(`${name} is already initialized`)
|
||||
await git.addRemote(name)
|
||||
console.log(`Added git remote for "${name}" as "pear"`)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user