Horje
how to commit a specific file in git Code Example
how to commit a specific file in git
if you are in the current directory, add ./ to the front of the path;

git commit -m 'my notes' ./path/to/my/file.ext
git commit -o path/to/myfile -m "the message"
git commit exluding one file
git update-index --assume-unchanged "main/dontcheckmein.txt"

/*and to undo that*/
git update-index --no-assume-unchanged "main/dontcheckmein.txt"
commit only single file in git
git commit [some files]




Shell

Related
ubuntu default phpmyadmin password Code Example ubuntu default phpmyadmin password Code Example
change lunix password Code Example change lunix password Code Example
create necxt app Code Example create necxt app Code Example
how to get the folder size in linux Code Example how to get the folder size in linux Code Example
where skype saves file in linux Code Example where skype saves file in linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11