Skip to content

Commit 0f088e3

Browse files
committed
Fixed broken flag
Using "git config –-global alias.rb rebase" will result in throw the following: error: key does not contain a section: –-global Instead, we should use "--global"
1 parent 87cac41 commit 0f088e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_posts/2009-02-06-helpful-command-aliases.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ nothing added to commit but untracked files present (use "git add" to track)
3131
You can also add aliases like so, and they will get added to your @.gitconfig@ file automatically.
3232

3333
<pre>
34-
$ git config -global alias.rb rebase
34+
$ git config --global alias.rb rebase
3535
</pre>
3636

3737

0 commit comments

Comments
 (0)