shell - Git commit -m does not accept spaces in the message -


I'm relatively new to Linux so this is probably an easy one, but when I quote around my GIT (one or two ) Use the message Make the words are taken as the file name with the empty space in the message -how do I use - I do not want to use vi.

  User @ Linux: ~ / Document / TMP $ git Status Branch Committed on the initial committed change: ("git rm - cached " for new file. . ") New file: Eiffel user @ linux: ~ / documents / tmp $ git commit -m  This message is empty space and failure error: pathspec from any file (files) known to 'message' git Does not match error: pathspec does not match any file (s) known to 'git' Note: Pathspec does not match any file (s) known to 'spaces' git Error: The pathpip 'and' does not match any file (fairs) that git error: pathspec 'failsè' git User does not match any known files (files): Linux / ~~~ Documents / TMP $ GIT commit-m œ nospesisacreacres [Master (Route Commit) 37 AFCD 6] NSSPesy 1 file changed, 1 entry (+) Make modes 100644 Eiffel   ", or quote  '  

of double quotes) , Partner :) is very foreign to bash , so it divides your messages from white spaces into tokens and these tokens are separated by git < Code>.

Unlike MS Windows CMD.XA , in systems like Unix, (well, Mengue and Saigwin are also like Unix :)) Token command line by a shell Peformed, this is a sh - or csh - corresponding shell (bash, zsh, ash, sash, ksh, tcsh and so on and so forth). The program is ready to use the array of logic. Therefore, if a user wants to pass a line on the empty space, escape-sequence and so on, then he should correctly cite that line.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -