Skip to content

add

  • Add files from working directory to staging area
# Add all untracked and modified files
git add .

# Add a specific file
git add "file"

# Add files even if the staging area already has a file with the same name
git add -A