add all files in directory to git 1

add all files in directory to git

git add --all
git commit -am ""
git push

Here is what the above code is Doing:
1. git add –all
– This command adds all the files in the current directory to the staging area.
2. git commit -am “
– This command commits all the files in the staging area to the repository.
3. git push
– This command pushes all the files in the repository to the remote repository.

Similar Posts