Skip to main content
Making the question closer to the answer (the question as originally stated, without the spaces, could not possibly work)
Source Link

Can I pass arguments to the alias of a Git command?

I have some alias in Git config, like so:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

Is it possible to usemake an rb alias so that git rbxrb <x> inworks for any circumstance<x>?

I tried this alias:

rb = rebase -i HEAD~ 

but then for instance git rb8rb 8 seemsdoes not work.

Can I pass arguments to the alias of a Git command?

I have some alias in Git config, like so:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

Is it possible to use git rbx in any circumstance?

I tried alias:

rb = rebase -i HEAD~ 

but git rb8 seems not work.

Can I pass arguments to the alias of a Git command?

I have some alias in Git config, like so:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

Is it possible to make an rb alias so that git rb <x> works for any <x>?

I tried this alias:

rb = rebase -i HEAD~ 

but then for instance git rb 8 does not work.

in little china (probably an a, eh)
Source Link
random
  • 10k
  • 10
  • 71
  • 85

can I pass Pass an argument to thea Git alias of git command?

Can I pass argumentarguments to the alias of gita Git command? Well, my specific question is: I

I have some alias in Git config, like so:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

could beIs it possible to use "git rbx"git rbx in any circumstancescircumstance?

I tried alias:

rb = rebase -i HEAD~ 

but "git rb8"git rb8 seems not work.

can I pass argument to the alias of git command?

Can I pass argument to the alias of git command? Well, my specific question is: I have some alias in Git config, like:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

could be possible to use "git rbx" in any circumstances?

I tried alias:

rb = rebase -i HEAD~ 

but "git rb8" seems not work.

Pass an argument to a Git alias command

Can I pass arguments to the alias of a Git command?

I have some alias in Git config, like so:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

Is it possible to use git rbx in any circumstance?

I tried alias:

rb = rebase -i HEAD~ 

but git rb8 seems not work.

Source Link
HaveF
  • 3.1k
  • 2
  • 28
  • 36

can I pass argument to the alias of git command?

Can I pass argument to the alias of git command? Well, my specific question is: I have some alias in Git config, like:

rb1 = rebase -i HEAD~1 rb2 = rebase -i HEAD~2 rb3 = rebase -i HEAD~3 rb4 = rebase -i HEAD~4 .... 

could be possible to use "git rbx" in any circumstances?

I tried alias:

rb = rebase -i HEAD~ 

but "git rb8" seems not work.