git_add {git4r}R Documentation

Git Add

Description

Prints all changed files since last commit and waits for you to hit ENTER to add everything, or type out the space-separated numbers of what you do want to add to the next commit, else ESCAPE to cancel.

Usage

git_add()

Details

Files can are selected by number by typing a list of space-separated values. The inverse can also be used, for example "-2 -4" would add all except the 2nd and 4th file.

Each file or directory is given a symbol for change type:

For any file which has been flagged by git_pull() or git_merge() as containing conflicts, these are not included by hitting ENTER and must be added by number. This is to reduce the risk of accidentally committing a whole load of conflicts. Each file should be inspected manually before adding.

Value

Invisible NULL


[Package git4r version 0.1.2 Index]