1

If there are 1000 files in my local repository, and I want to commit and push only 700 files, is there a possibility?

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

1 Answers1

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