Git submits some modified files or folders and pushes

  • git status to see what changes are made, to view the file path of the modified file

  • git add. file1 file2 [multiple files are separated by spaces, file1 and file2 are the paths displayed when status]

  • Or git add folder1 /. Folder2 /. [Folder, use '/.', Space to realize multiple files under add folder]

  • git commit -m '' 【Commit note】

  • git push [commit push to remote]

Guess you like

Origin www.cnblogs.com/yogic/p/12751648.html