If there are 1000 files in my local repository, and I want to commit and push only 700 files, is there a possibility?
Asked
Active
Viewed 5,854 times
1
-
https://stackoverflow.com/search?q=%5Bgit%5D+commit+some+files – phd Mar 31 '19 at 11:31
1 Answers
3
You can use git commit [files]
in order to commit only certain files to your repository OR you can make use of Git's staging area to gradually add the files you want using git add [file]
before you commit.
You can check out this guide for a more complete introduction to Git and version control.

Peter Mortensen
- 30,738
- 21
- 105
- 131

nic3ts
- 347
- 1
- 2
- 13