Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to commit single / multiple file in git

commit single file in git:
$ git commit -m "Message goes here" file_name

example:
$ git commit -m "Pushing Only Single file to git" name.txt
------------------------------------------------------------

commit multiple file in git:
$ git commit -m "Message goes here" file1 file2

example:
$ git commit -m "Pushing Only two files to git" list1.txt list2.txt
Source by www.invezzatechnologies.com #
 
PREVIOUS NEXT
Tagged: #commit #single #multiple #file #git
ADD COMMENT
Topic
Name
8+5 =