RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
--quiet
is specified.HEAD
. This is used to throw away local changes.<new_branch>
and start it at <start_point>
<new_branch>
and start it at <start_point>
; if it already exists, then reset it to <start_point>
. This is equivalent to running "git branch" with "-f".branch.autoSetupMerge
configuration variable is true....
checks out the master
branch.
$ git checkout master |
add
To stage changes[file modifications and deletions].Accepts arguments for files or directories within the project directory.
...
git commit [-a | --interactive | --patch] [-s] [-v] [-u<mode>] [–amend]
[--dry-run] [(-c | -C | --fixup | --squash) <commit>]
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
[--allow-empty-message] [--no-verify] [-e] [–author=]
[--date=<date>] [--cleanup=<mode>] [--[no-]status]
[-i | -o] [--pathspec-from-file=<file> [--pathspec-file-nul]]
[-S[<keyid>]] [--] [<pathspec>…]
...
-c
the editor is invoked, so that the user can further edit the commit message.rebase --autosquash
. Example:
$ edit hello.c |
The commandgit commit -a
first looks at your working tree, notices that you have modified hello.c and removed goodbye.c, and performs necessarygit add
andgit rm
for you.
To view a list of existing branches
...
Creates a new topic branch
$ git branch [branch] |
Merges [branch]
into current branch.
...