Skip to content

Instantly share code, notes, and snippets.

@qrw
Created April 13, 2012 14:54
Show Gist options
  • Save qrw/2377427 to your computer and use it in GitHub Desktop.
Save qrw/2377427 to your computer and use it in GitHub Desktop.
git:commit all modified files in one line
git add $(git ls-files -m)
@AlbaroPereyra
Copy link

what about git add .?

@marcolino
Copy link

:-)

@chithapursrinadh
Copy link

git add . is works as to commit every thing to the branch or master.
git add is works as to commit specific file to the branch or master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment