when I click on Git bash it show me cmd..
Yes. Commands you will use are:
COMMAND:
[Clones (downloads) a specific repo]
git clone "repo url"
EXAMPLE:
git clone
https://github.com/ARepo
---------------------------------------------------
COMMAND:
[Adds a specific modified file to the list for committing]
git add "path/to/file"
EXAMPLE:
git add "scripts/server/src/MyScript.cpp"
---------------------------------------------------
COMMAND:
[Adds all modified files to the list for committing]
git add --all
---------------------------------------------------
COMMAND:
[Shows all modified files as well as their paths]
git status
---------------------------------------------------
COMMAND:
[Shows all modified files without paths (file name and extension only)]
git status -s
---------------------------------------------------
COMMAND:
[Adds your changes to a commit]
git commit
[Adds your changes to a commit with your messages]
git commit -m "MAIN TITLE" -m "UPDATED: THIS" -m "UPDATED: THAT" -m "UPDATED: EVERYTHING"
---------------------------------------------------
COMMAND:
[Pushes your commit to your repo publicly]
git push
When you're ready to commit, do it in the following order:
// GIT ADD DEPENDS ON WHAT FILES YOU ACTUALLY WANT TO ADD TO THE COMMIT -- I'm doing "ALL" for example
git add --all
git commit -m "UPDATED: MY PROJECT" -m "ADDED: A Toad"
git push
If you're new to it, TortoiseGit is a useful tool.
And for noobs like you. :surprised: