aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Git
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2021-01-14 03:37:05 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2021-01-14 03:37:05 +0200
commit3797ab8c8ca683c794bb6e9f601c0da79626f6ce (patch)
treee9460180fe24c1c80537c40c60a6601829b8f563 /Software/Visual_Studio/Tango.Git
parent30ee4ef0115499cde3f650573efcc1df0adbee68 (diff)
downloadTango-3797ab8c8ca683c794bb6e9f601c0da79626f6ce.tar.gz
Tango-3797ab8c8ca683c794bb6e9f601c0da79626f6ce.zip
PPC_v1.3.6
Diffstat (limited to 'Software/Visual_Studio/Tango.Git')
-rw-r--r--Software/Visual_Studio/Tango.Git/GitRepositoryManager.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Git/GitRepositoryManager.cs b/Software/Visual_Studio/Tango.Git/GitRepositoryManager.cs
index e8f5df3b1..c57ab4d79 100644
--- a/Software/Visual_Studio/Tango.Git/GitRepositoryManager.cs
+++ b/Software/Visual_Studio/Tango.Git/GitRepositoryManager.cs
@@ -45,12 +45,14 @@ namespace Tango.Git
public void Pull()
{
- ExecuteGitProcess($"pull");
+ var branch = _repo.Head.TrackedBranch;
+ ExecuteGitProcess($"pull origin {branch.FriendlyName}");
}
public void Push()
{
- ExecuteGitProcess($"push");
+ var branch = _repo.Head.TrackedBranch;
+ ExecuteGitProcess($"push origin {branch.FriendlyName}");
}
public void Sync()