Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Git Alias Problems
SUBMITTED BY:
Guest
DATE:
March 8, 2013, 12:45 p.m.
FORMAT:
Bash
SIZE:
512 Bytes
Raw
Download
Tweet
HITS:
1300
Go to comments
Report
`
-->
cat
~/.gitconfig
<snipped>
# From https://git.wiki.kernel.org/index.php/Aliases#alias
[
alias
]
alias
=
!sh
-c
'[ $# = 2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || echo \"usage: git alias <new alias> <original command>\" >&2 && exit 1'
-
`
-->
git
alias
sh
-c
'[ $: -c: line 0: unexpected EOF while looking for matching `''
sh -c '
[
$:
-c:
line
1
:
syntax
error:
unexpected
end
of
file
`
-->
git
config
alias.alias
!sh
-c
'
[
$
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus