mirror of
https://github.com/aljazceru/gitpear.git
synced 2025-12-17 14:14:22 +01:00
Add remote url to git push out
Signed-off-by: dzdidi <deniszalessky@gmail.com>
This commit is contained in:
@@ -96,14 +96,14 @@ async function talkToGit (refs, drive, repoName, rpc) {
|
|||||||
if (isDelete) {
|
if (isDelete) {
|
||||||
command = 'd-branch'
|
command = 'd-branch'
|
||||||
} else if (isForce) {
|
} else if (isForce) {
|
||||||
|
console.warn('To', url)
|
||||||
await git.push(src, isForce)
|
await git.push(src, isForce)
|
||||||
src = src.replace('+', '')
|
src = src.replace('+', '')
|
||||||
command = 'f-push'
|
command = 'f-push'
|
||||||
console.warn('To', url)
|
|
||||||
} else {
|
} else {
|
||||||
|
console.warn('To', url)
|
||||||
await git.push(src)
|
await git.push(src)
|
||||||
command = 'push'
|
command = 'push'
|
||||||
console.warn('To', url)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const publicKey = home.readPk()
|
const publicKey = home.readPk()
|
||||||
|
|||||||
Reference in New Issue
Block a user