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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable %(branch) should expand to current branch in main view #223

Closed
mariuszs opened this issue Dec 3, 2013 · 0 comments
Closed

Variable %(branch) should expand to current branch in main view #223

mariuszs opened this issue Dec 3, 2013 · 0 comments

Comments

@mariuszs
Copy link

mariuszs commented Dec 3, 2013

Variable %(branch) should expand to current branch in main view. This is useful for alias with prompt, for example:

main = ^R !?git push origin HEAD:refs/for/%(branch)

After invoking this should be printed:

Run `git push origin HEAD:refs/for/master`? [Yy/Nn]
@jonas jonas closed this as completed in 99467ab Feb 19, 2014
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

No branches or pull requests

1 participant