Hello everyone, Welcome back to Webzone Tech Tips channel, looking around from LinkedIn, i saw some useful thing for developer while using GIT, (You can take a look for related topic of git on this link) and on this topic, I will introduce some basically and usually to use command beside the git flow below, I hope through this screenshot it can support you guy in using GIT command in your daily works
Here is the git command detail
Thanks for Brij Kishore Pandey sharing
๐ญ. ๐ด๐ถ๐ ๐ฑ๐ถ๐ณ๐ณ: Show file differences not yet staged.
๐ฎ. ๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐ -๐ฎ -๐บ "๐ฐ๐ผ๐บ๐บ๐ถ๐ ๐บ๐ฒ๐๐๐ฎ๐ด๐ฒ": Commit all tracked changes with a message.
๐ฏ. ๐ด๐ถ๐ ๐๐๐ฎ๐๐๐: Show the state of your working directory.
๐ฐ. ๐ด๐ถ๐ ๐ฎ๐ฑ๐ฑ ๐ณ๐ถ๐น๐ฒ_๐ฝ๐ฎ๐๐ต:Add file(s) to the staging area.
๐ฑ. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ -๐ฏ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต_๐ป๐ฎ๐บ๐ฒ: Create and switch to a new branch.
๐ฒ. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ผ๐๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต_๐ป๐ฎ๐บ๐ฒ: Switch to an existing branch.
๐ณ. ๐ด๐ถ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐ --๐ฎ๐บ๐ฒ๐ป๐ฑ:Modify the last commit.
๐ด. ๐ด๐ถ๐ ๐ฝ๐๐๐ต ๐ผ๐ฟ๐ถ๐ด๐ถ๐ป ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต_๐ป๐ฎ๐บ๐ฒ: Push a branch to a remote.
๐ต. ๐ด๐ถ๐ ๐ฝ๐๐น๐น: Fetch and merge remote changes.
๐ญ๐ฌ. ๐ด๐ถ๐ ๐ฟ๐ฒ๐ฏ๐ฎ๐๐ฒ -๐ถ: Rebase interactively, rewrite commit history.
๐ญ๐ญ. ๐ด๐ถ๐ ๐ฐ๐น๐ผ๐ป๐ฒ: Create a local copy of a remote repo.
๐ญ๐ฎ. ๐ด๐ถ๐ ๐บ๐ฒ๐ฟ๐ด๐ฒ: Merge branches together.
๐ญ๐ฏ. ๐ด๐ถ๐ ๐น๐ผ๐ด --๐๐๐ฎ๐: Show commit logs with stats.
๐ญ๐ฐ. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต: Stash changes for later.
๐ญ๐ฑ. ๐ด๐ถ๐ ๐๐๐ฎ๐๐ต ๐ฝ๐ผ๐ฝ: Apply and remove stashed changes.
๐ญ๐ฒ. ๐ด๐ถ๐ ๐๐ต๐ผ๐ ๐ฐ๐ผ๐บ๐บ๐ถ๐_๐ถ๐ฑ: Show details about a commit.
๐ญ๐ณ. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ ๐๐๐๐~๐ญ: Undo the last commit, preserving changes locally.
๐ญ๐ด. ๐ด๐ถ๐ ๐ณ๐ผ๐ฟ๐บ๐ฎ๐-๐ฝ๐ฎ๐๐ฐ๐ต -๐ญ ๐ฐ๐ผ๐บ๐บ๐ถ๐_๐ถ๐ฑ: Create a patch file for a specific commit.
๐ญ๐ต. ๐ด๐ถ๐ ๐ฎ๐ฝ๐ฝ๐น๐ ๐ฝ๐ฎ๐๐ฐ๐ต_๐ณ๐ถ๐น๐ฒ_๐ป๐ฎ๐บ๐ฒ: Apply changes from a patch file.
๐ฎ๐ฌ. ๐ด๐ถ๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต -๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต_๐ป๐ฎ๐บ๐ฒ: Delete a branch forcefully.
๐ฎ๐ญ. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐: Undo commits by moving branch reference.
๐ฎ๐ฎ. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ฟ๐: Undo commits by creating a new commit.
๐ฎ๐ฏ. ๐ด๐ถ๐ ๐ฐ๐ต๐ฒ๐ฟ๐ฟ๐-๐ฝ๐ถ๐ฐ๐ธ ๐ฐ๐ผ๐บ๐บ๐ถ๐_๐ถ๐ฑ: Apply changes from a specific commit.
๐ฎ๐ฐ. ๐ด๐ถ๐ ๐ฏ๐ฟ๐ฎ๐ป๐ฐ๐ต: Lists branches.
๐ฎ๐ฑ. ๐ด๐ถ๐ ๐ฟ๐ฒ๐๐ฒ๐ --๐ต๐ฎ๐ฟ๐ฑ: Resets everything to a previous commit, erasing all uncommitted changes.
