Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick way to "git branch --set-upstream-to=origin/<branch> <branch>" #3726

Closed
wants to merge 1 commit into from
Closed

Conversation

leomilrib
Copy link

I have been using this for sometime now and decided to share. 馃榿

It uses the $(current_branch) function from git.plugin.zsh and sets the upstream to the remote named origin.

Use: call the ggsup alias. 馃槈

Quick way to `git branch --set-upstream-to=origin/<branch> <branch>`
It uses the `$(current_branch)` function
ncanceill added a commit to ncanceill/oh-my-zsh that referenced this pull request Apr 5, 2015
@ncanceill ncanceill mentioned this pull request Apr 5, 2015
5 tasks
ncanceill added a commit to ncanceill/oh-my-zsh that referenced this pull request Apr 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant