To pull remote changes and merge into the current branch. Syntax: git pull
Continue reading...L2D
Git Merge Changes
To merge changes from a different branch. Syntax: git merge branch_name Example: git merge test
Continue reading...Git Fetch
To fetch the latest changes from a remote repository. Syntax: git fetch
Continue reading...Git Reverse Local
To discard local changes. Syntax: git restore file_name Example: git restore test
Continue reading...Git Unstage Changes
To unstage changes. Syntax: git restore –staged file_name Example: git restore –staged test
Continue reading...Git Commit
To commit changes with a message. Syntax: git commit -m "commit_message" Example: git commit -m "First commit"
Continue reading...Git Add
To add changes to the staging area. Syntax: git add file_name Note: use ‘.’ to add all changes Example: git...
Continue reading...Git Delete Branch
To delete a branch. Syntax: git branch -d branch_name Example: git branch -d TestBranch
Continue reading...