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"
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 specific files
//add that specific file
git add "File name"
//Committing file wiht message
git commit -m "Message of the commit"
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"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us