0

Git commands are given in this format

'git pull' [options] [<repository> [<refspec>...]]

What is meant by the brackets? Are these optional statements?

bmcentee148
  • 594
  • 1
  • 7
  • 18
  • 1
    Yes, as in any other language spec. – PM 77-1 Nov 12 '14 at 22:18
  • Where can I read more about the formst of language/command specifications? I feel like this isnt something that is gone over in detail very often. – bmcentee148 Nov 12 '14 at 22:19
  • You may want to look at [How to read API documentation for newbs?](http://stackoverflow.com/questions/10925478/how-to-read-api-documentation-for-newbs). – PM 77-1 Nov 12 '14 at 22:34

1 Answers1

0

Yes, those flags are optional, you can simply run:

git pull

and it will pull the latest from your current repo.

:)

TaylorN
  • 386
  • 3
  • 13