Navigate to the "git folder" folder that we created. now type git init and tell git to make it as a repository. A repository is a storage area where a version control system stores old revisions of files and information about who changed what and when
.................................................................................................................................................................

.................................................................................................................................................................
The Untracked files message means that there are files in the directory that Git is not keeping track of. We tell Git that it should do so using git add:
Command: git add filename
if multiple files changed then use
Command: git add *
.................................................................................................................................................................
Commit files that have been staged (with git-add)
Command: git commit -m ""
list of files
.................................................................................................................................................................
Want to push your project to GitHub then follow this instruction
Add remote origin, add your changes files , commit, then push to the remote origin
You can check your file in remote
You can also push your file to another branch

.............................................................................................................................................










No comments:
Post a Comment