Skip to content

Commit

Permalink
Pushing HEAD now instead of master
Browse files Browse the repository at this point in the history
  • Loading branch information
tomolt committed Mar 22, 2015
1 parent 0919d6d commit dca3700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GitBlocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ void GitBlocks::Push(wxCommandEvent &event)
#ifdef __WXMSW__ // Fucking hipster Windows needs some extra code
wxString command = _("cmd.exe /C \"") + git + _(" push origin master\"");
#else
wxString command = _("xterm -e \"") + git + _(" push origin master\"");
wxString command = _("xterm -e \"") + git + _(" push origin HEAD\"");
#endif
Execute(command, _("Pushing master to origin ..."));
Execute(command, _("Pushing HEAD to origin ..."));
}

void GitBlocks::Pull(wxCommandEvent &event)
Expand Down

0 comments on commit dca3700

Please sign in to comment.