report_draft_v3_final.txt)git cli (Command Line Interface)
When in doubt, use --help
git --help git <subcommand> --help
.git folder that keeps all the git related files used only for version control.Inside the project you want to manage, enter the command to create a repository
git init .
. (current location).git exists and its subfolders is the working tree.
You can add a file to index with
git add <filename>
You could also add the entire current folder by using
git add .
All the staged files are added to the commit with a user defined message.
git commit
hash which is a unique label..)
A list of all your commits in the current history.
List Branches
git branch
Create branches
git branch <branch-name>
Practice Learn Git Branching
merge.merge conflict
git status

merge commit, reapply the commits to the top of the destination.
This is cleaner, and often considered more appropriate when doing a pull to avoid too many merges.
git pull --rebase
You can add extra remotes using
git remote add <custom-name> <url>
Clones a pre-existing remote repository.
git clone <url> [<directory>]
mergeKeep your local repo up-to-date by using
git pull [<remote> <branch>]
git stash
git stash apply
pull before push..o, .so, .dll, .exe, .class, log.txt, token.txt etc.git status.gitignore file..gitignore in the same directory as .git/*.exe) that it ignores.For Example: for VSCode
.vscode/
.code-workspace
Removes things from index. Reverse of git add
git reset <filename>
When changes are “ready”
git add <files> git commit git pull --rebase git push
.gitignoremainmain per-feature.