

For preventing the staging of the modification, you can convert "-" lines to " ", and remove "+" lines.
To add a new remote Git repository as a shortname you can reference easily, run git remote addGit remote add how to#
Here’s how to add a new remote explicitly. Modified content is shown with "-" lines (deleting the old content) followed by "+" lines (adding the replacement content). We’ve mentioned and given some demonstrations of how the git clone command implicitly adds the origin remote for you. In order to prevent staging their deletion, you can convert the "-" to a " " (space). Lines beginning with "-" represent removed content. You can delete them in order to prevent staging any addition lines. Lines starting with "+" represent added content. Here are some common things you may see in a patch, and which editing operations make sense on them. If you want to decline the operation entirely, simply delete all lines of the patch. Arbitrary changes are made to the patch, but some changes may have complicated outputs or even an output in a patch that is inapplicable.

/ - searching for a hunk which matches the given regex.d - not staging the hunk or any later hunk in the file.a - staging the hunk with all later hunks in the file.q - quit not staging the hunk or any remaining one.The available options are the following ones: You will be suggested a chunk of changes and prompted for a command. An interactive staging session lets you choose portions of a file to be added to the next commit.
