{"id":8106,"date":"2022-07-29T15:00:05","date_gmt":"2022-07-29T08:30:05","guid":{"rendered":"https:\/\/spiceworksmyanmar.com\/blog\/?p=8106"},"modified":"2022-07-29T15:00:05","modified_gmt":"2022-07-29T08:30:05","slug":"git-git-commands","status":"publish","type":"post","link":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/","title":{"rendered":"Git (Git Commands)"},"content":{"rendered":"<p>\u1019\u1002\u1064\u101c\u102c\u1015\u102b\u104b<br \/>\n\u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c Backend Developer \u1021\u1031\u1014\u1014\u1032\u1094 \u1010\u102c\u101d\u1014\u1039\u101a\u1030\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u1031\u1014\u1010\u1032\u1037 \u101e\u102f\u1010\u101a\u102c\u1019\u102d\u102f\u1038 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1012\u102e\u1010\u1005\u1039\u1031\u1001\u102b\u1000\u1039\u1019\u103d\u102c\u1031\u1010\u102c\u1037 \u1021\u101e\u102f\u1036\u1038\u1019\u103a\u102c\u1038\u1010\u1032\u1037 git commands \u1021\u1031\u107e\u1000\u102c\u1004\u1039\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u101e\u102d\u101e\u1031\u101c\u102c\u1000\u1039 \u1031\u101d\u1019\u103d\u103a\u1031\u1015\u1038\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nGit \u1000\u1031\u1010\u102c\u1037 team members, developers \u1031\u1010\u103c \u1005\u102f\u1031\u1015\u102b\u1004\u1039\u1038\u107f\u1015\u102e\u1038 project \u1031\u1010\u103c\u1000\u102d\u102f \u103b\u1019\u1014\u1039\u103b\u1019\u1014\u1039\u1006\u1014\u1039\u1006\u1014\u1039\u104a \u1011\u102d\u1011\u102d\u1031\u101b\u102c\u1000\u1039\u1031\u101b\u102c\u1000\u1039 \u101c\u102f\u1015\u1039\u108f\u102d\u102f\u1004\u1039\u1031\u1005\u1010\u1032\u1037 verison control system (VCS) \u1010\u1005\u1039\u1001\u102f\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b VCS \u103b\u1016\u1005\u1039\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 code \u1031\u1010\u103c \u1018\u101a\u1039 file\u104a \u1018\u101a\u1039 folder \u1031\u1010\u103c\u1019\u103d\u102c \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1011\u102c\u1038\u1010\u101a\u1039\u1006\u102d\u102f\u1010\u102c\u1000\u102d\u102f \u1019\u103d\u1010\u1039\u1011\u102c\u1038\u1031\u1015\u1038\u1010\u101a\u1039\u104a \u1021\u101b\u1004\u1039\u1031\u101b\u1038\u107f\u1015\u102e\u1038\u101e\u102c\u1038 version \u1000 \u1000\u102f\u1012\u1039\u1014\u1032\u1094 \u1021\u1001\u102f\u1031\u101b\u1038\u1011\u102c\u1038\u1010\u1032\u1037\u1000\u102f\u1012\u1039\u1014\u1032\u1094 \u1000\u103c\u102c\u101e\u103c\u102c\u1038\u1010\u102c\u1031\u1010\u103c\u1000\u102d\u102f \u103b\u1015\u101e\u1031\u1015\u1038\u1010\u101a\u1039\u104a \u1000\u102d\u102f\u101a\u1039\u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037 version \u1000\u102d\u102f\u101c\u100a\u1039\u1038 \u103b\u1015\u1014\u1039\u107f\u1015\u102e\u1038 restore \u101c\u102f\u1015\u1039\u108f\u102d\u102f\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\n<strong><br \/>\nWorking, Staging &amp; Repository Areas<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-8140 aligncenter\" src=\"https:\/\/spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-27-at-11.26.54-PM-1024x816.png\" alt=\"\" width=\"600\" height=\"478\" srcset=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-27-at-11.26.54-PM-1024x816.png 1024w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-27-at-11.26.54-PM-300x239.png 300w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-27-at-11.26.54-PM-768x612.png 768w, https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/Screen-Shot-2022-07-27-at-11.26.54-PM.png 1084w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><br \/>\nGit \u1019\u103d\u102c \u1021\u1013\u102d\u1000\u103a\u1010\u1032\u1037 areas \u101e\u102f\u1036\u1038\u1019\u103a\u102d\u1033\u1038\u101b\u103d\u102d\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\n1. Working Directory<br \/>\nWoring Directory \u1019\u103d\u102c\u1031\u1010\u102c\u1037 \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1010\u102d\u102f\u1094 file \u1014\u1032\u1094 folder \u1021\u101e\u1005\u1039\u1031\u1010\u103c\u1011\u1015\u1039\u1010\u102d\u102f\u1038\u1019\u101a\u1039\u104a code \u1031\u1010\u103c\u1000\u102d\u102f \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u101c\u102f\u1015\u1039\u1010\u1032\u1037\u1031\u1014\u101b\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>2. Staging Area<br \/>\nStaging Area \u1019\u103d\u102c\u1031\u1010\u102c\u1037 local repository \u1011\u1032\u1000\u102d\u102f \u1019\u101e\u103c\u102c\u1038\u1001\u1004\u1039 \u1031\u1014\u101b\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1012\u102e\u1031\u1014\u101b\u102c\u1019\u103d\u102c working directory \u1011\u1032\u1000\u1031\u1014 \u1031\u1014\u102c\u1000\u1039 commit \u1019\u103d\u102c\u1015\u102b\u1031\u1005\u1001\u103a\u1004\u1039\u1010\u1032\u1037 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f \u101e\u102d\u1019\u1039\u1038\u1011\u102c\u1038\u1031\u1015\u1038\u1015\u102b\u1010\u101a\u1039\u104b git add \u101c\u102f\u1015\u1039\u101b\u1004\u1039 \u1031\u101b\u102c\u1000\u1039\u101b\u103d\u102d\u1019\u101a\u1037\u1039\u1031\u1014\u101b\u102c\u101c\u102d\u102f\u1094\u101c\u100a\u1039\u1038 \u1031\u103b\u1015\u102c\u101c\u102d\u102f\u1094\u101b\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p>3. Repository Area<br \/>\nRepository Area \u1000\u1031\u1010\u102c\u1037\u00a0 git add \u101c\u102f\u1015\u1039\u107f\u1015\u102e\u1038\u1031\u1014\u102c\u1000\u1039 staging area \u1021\u103b\u1016\u1005\u1039\u1014\u1032\u1094\u101b\u103d\u102d\u1031\u1014\u1010\u1032\u1037\u1021\u101b\u102c\u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000\u102d\u102f git commit \u101c\u102f\u1015\u1039\u1010\u1032\u1037\u1021\u1001\u103a\u102d\u1014\u1039\u1019\u103d\u102c local repository (.git\/ folder) \u1011\u1032\u1000\u102d\u102f\u1015\u102d\u102f\u1094\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Init<\/strong><br \/>\nProject \u1010\u1005\u1039\u1001\u102f\u1019\u103d\u102c git \u101e\u102f\u1036\u1038\u1019\u101a\u1039\u1006\u102d\u102f\u101b\u1004\u1039 git init (\u101e\u102d\u102f\u1094) git clone \u1014\u1032\u1094 \u1021\u1005\u103b\u1015\u1033\u101c\u102d\u102f\u1094\u101b\u1015\u102b\u1010\u101a\u1039\u104b git init \u1000\u102d\u102f project \u1000 local machine \u1011\u1032\u1019\u103d\u102c\u1015\u1032 \u101b\u103d\u102d\u1031\u101e\u1038\u1010\u1032\u1037 \u1021\u1031\u103b\u1001\u1021\u1031\u1014\u1019\u103a\u102d\u1033\u1038\u1019\u103d\u102c \u1021\u101e\u102f\u1036\u1038\u1019\u103a\u102c\u1038\u1015\u102b\u1010\u101a\u1039\u104b git clone \u1000\u1031\u1010\u102c\u1037 github, gitlab \u1021\u1005\u101b\u103d\u102d\u1010\u102c\u1031\u1010\u103c\u1019\u103d\u102c remote repository \u101b\u103d\u102d\u107f\u1015\u102e\u1038\u1010\u1032\u1037 \u1021\u1031\u103b\u1001\u1021\u1031\u1014\u1019\u103a\u102d\u1033\u1038\u1019\u103d\u102c \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b git init \u101c\u102f\u1015\u1039\u107f\u1015\u102e\u1038\u107f\u1015\u102e\u1006\u102d\u102f\u101b\u1004\u1039\u1031\u1010\u102c\u1037 \u1000\u102d\u102f\u101a\u1039\u101b\u1032\u1095 project directory \u1031\u1021\u102c\u1000\u1039\u1019\u103d\u102c .git\/ folder\u1000\u102d\u102f \u101b\u101b\u103d\u102d\u101c\u102c\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">cd \/project-folder\r\ngit init\r\n<\/pre>\n<p><strong>Git Repository<\/strong><br \/>\nGit respository \u1000\u1031\u1010\u102c\u1037 \u1000\u102d\u102f\u101a\u1039\u1031\u101b\u1038\u1031\u1014\u1010\u1032\u1037 project \u101b\u1032\u1095 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000\u102d\u102f \u101e\u102d\u1019\u1039\u1038\u1011\u102c\u1038\u1031\u1015\u1038\u1010\u1032\u1037\u1031\u1014\u101b\u102c\u103b\u1016\u1005\u1039\u1010\u1032\u1037 .git\/ folder \u1000\u102d\u102f\u1015\u1032\u1006\u102d\u102f\u101c\u102d\u102f\u1010\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b Local repository \u1000\u1031\u1010\u102c\u1037 local machine \u1011\u1032\u1000 repository \u1000\u102d\u102f\u1031\u1001\u105a\u1010\u102c\u103b\u1016\u1005\u1039\u107f\u1015\u102e\u1038 remote repository \u1000\u1031\u1010\u102c\u1037 server \u1010\u1005\u1039\u1001\u102f\u1019\u103d\u102c \u1010\u1004\u1039\u1011\u102c\u1038\u1010\u1032\u1037 repository \u1000\u102d\u102f\u1031\u1001\u105a\u1010\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Clone<\/strong><br \/>\ngit clone \u1000\u102d\u102f\u1031\u1010\u102c\u1037 github \u1031\u1015\u105a\u1019\u103d\u102c\u101b\u103d\u102d\u1010\u1032\u1037 \u1019\u102d\u1019\u102d\u101b\u1032\u1095 remote git repository (\u101e\u102d\u102f\u1094) \u101e\u1030\u1019\u103a\u102c\u1038\u101b\u1032\u1095 repository \u1000\u102d\u102f \u1000\u102d\u102f\u101a\u1037\u1039\u101b\u1032\u1095 local machine \u1011\u1032 copy \u1000\u1030\u1038\u101c\u102d\u102f\u1010\u1032\u1037\u1021\u1001\u102b\u104a \u1000\u102d\u102f\u101a\u1039\u101b\u1032\u1095 local repo \u1000\u102d\u102f\u1015\u1032 \u1031\u1014\u101b\u102c\u1031\u103b\u1015\u102c\u1004\u1039\u1038\u1001\u103a\u1004\u1039\u1010\u1032\u1037\u1021\u1001\u102b \u1021\u101e\u102f\u1036\u1038\u103b\u1015\u1033\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git clone git@github.com:username\/projectname.git\r\ngit clone git@github.com:username\/projectname.git mygit\r\ngit clone git@github.com:username\/projectname.git .<\/pre>\n<p>Line 1 command \u1000\u102d\u102f \u101e\u102f\u1036\u1038\u1019\u101a\u1039\u1006\u102d\u102f\u101b\u1004\u1039 \/projectfolder\/projectname \u1006\u102d\u102f\u107f\u1015\u102e\u1038 directory \u1010\u1005\u1039\u1001\u102f \u1031\u1006\u102c\u1000\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u107f\u1015\u102e\u1038 \u101e\u1030\u1094\u1011\u1032\u1000\u102d\u102f\u1019\u103d remote repo \u1000 files \u1019\u103a\u102c\u1038 \u101d\u1004\u1039\u101e\u103c\u102c\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 2 command \u1000\u102d\u102f \u101e\u102f\u1036\u1038\u1019\u101a\u1039\u1006\u102d\u102f\u101b\u1004\u1039 \/projectfolder\/mygit \u1006\u102d\u102f\u107f\u1015\u102e\u1038 directory \u1010\u1005\u1039\u1001\u102f \u1031\u1006\u102c\u1000\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u107f\u1015\u102e\u1038 \u101e\u1030\u1094\u1011\u1032\u1000\u102d\u102f\u1019\u103d remote repo \u1000 files \u1019\u103a\u102c\u1038 \u101d\u1004\u1039\u101e\u103c\u102c\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 3 command \u1000\u102d\u102f \u101e\u102f\u1036\u1038\u1019\u101a\u1039\u1006\u102d\u102f\u101b\u1004\u1039 \/projectfolder\/ folder \u1011\u1032\u1000\u102d\u102f\u1015\u1032 remote repo \u1000 files \u1019\u103a\u102c\u1038 \u101d\u1004\u1039\u101e\u103c\u102c\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Add<\/strong><br \/>\ngit add \u1000\u1031\u1010\u102c\u1037 working area \u1011\u1032\u1000\u1031\u1014 staging area \u1000\u102d\u102f \u1015\u102d\u102f\u1094\u1031\u1015\u1038\u1010\u1032\u1037 command \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git add .\r\ngit add &lt;filename&gt;\r\n<\/pre>\n<p>git add . \u1006\u102d\u102f\u101b\u1004\u1039\u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u101b\u103d\u102d\u1010\u1032\u1037 file \u1019\u103d\u1014\u1039\u101e\u1019\u103d\u103a\u1000\u102d\u102f staging area \u1000\u102d\u102f \u1015\u102d\u102f\u1094\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\n\u1000\u102d\u102f\u101a\u1039\u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037 file \u1000\u102d\u102f\u1015\u1032 staging area \u1011\u1032\u1000\u102d\u102f \u1015\u102d\u102f\u1094\u1031\u1005\u1001\u103a\u1004\u1039\u1010\u1032\u1037\u1021\u1001\u102b git add &#8220;filename&#8221; command \u101e\u102f\u1036\u1038\u101b\u1015\u102b\u1019\u101a\u1039\u104b<\/p>\n<p><strong>Git Commit<\/strong><br \/>\ngit commit \u1000\u1031\u1010\u102c\u1037 staging area \u1000\u1031\u1014 repository area (.git\/) \u1000\u102d\u102f \u1015\u102d\u102f\u1094\u1031\u1015\u1038\u1010\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b git commit \u101c\u102f\u1015\u1039\u1010\u1032\u1037\u1021\u1001\u102b commit \u101b\u1032\u1095 message \u1031\u1010\u103c\u1011\u100a\u1039\u1037\u1031\u1015\u1038\u101b\u1015\u102b\u1010\u101a\u1039\u104b \u1011\u102d\u102f\u1021\u1001\u102b\u1019\u103d\u101e\u102c \u1010\u103b\u1001\u102c\u1038\u101e\u1030\u1000 \u1012\u102e commit \u1019\u103d\u102c \u1018\u102c\u1031\u1010\u103c\u1015\u102b\u101d\u1004\u1039\u101c\u1032\u1006\u102d\u102f\u1010\u102c\u1000\u102d\u102f \u1014\u102c\u1038\u101c\u100a\u1039\u101c\u103c\u101a\u1039\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git commit -m \"message\"\r\ngit commit -m \"message\" -m \"another message\"\r\n<\/pre>\n<p><strong>Git Reset <\/strong><br \/>\ngit reset \u1000\u1031\u1010\u102c\u1037 git add \u1014\u1032\u1094 \u1006\u1014\u1039\u1094\u1000\u103a\u1004\u1039\u1018\u1000\u1039\u103b\u1016\u1005\u1039\u107f\u1015\u102e\u1038 staging area \u1000\u1031\u1014 working directory area \u1000\u102d\u102f \u103b\u1015\u1014\u1039\u1015\u102d\u102f\u1094\u1031\u1015\u1038\u1015\u102b\u1010\u101a\u1039\u104b\u200b git reset \u1000\u102d\u102f commits \u1031\u1010\u103c \u1016\u103a\u1000\u1039\u101c\u102d\u102f\u1010\u1032\u1037\u1021\u1001\u102b\u1019\u103d\u102c\u101c\u100a\u1039\u1038 \u1021\u101e\u102f\u1036\u1038\u103b\u1015\u1033\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git reset .\r\ngit reset &lt;filename&gt;\r\ngit reset --soft &lt;commit_id&gt;\r\ngit reset --hard &lt;commit_id&gt;\r\n<\/pre>\n<p>&#8211;soft \u1000\u1031\u1010\u102c\u1037 \u1021\u1001\u102f reset \u101c\u102f\u1015\u1039\u1019\u101a\u1039\u1037 commit \u1000\u102d\u102f repository area \u1011\u1032 \u1019\u1011\u100a\u1037\u1039\u1001\u1004\u1039\u1021\u1001\u103a\u102d\u1014\u1039\u1000 \u1000\u102d\u102f\u101a\u1039 changes \u101c\u102f\u1015\u1039\u1011\u102c\u1038\u1010\u102c\u1031\u1010\u103c \u1000\u103a\u1014\u1039\u101b\u103d\u102d\u1031\u1014\u1031\u1005\u1001\u103a\u1004\u1039\u1010\u1032\u1037 \u1021\u1001\u102b\u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\n&#8211;hard \u1000\u1031\u1010\u102c\u1037 changes \u1031\u1010\u103c\u1000\u102d\u102f\u1015\u102b \u1016\u103a\u1000\u1039\u1031\u1015\u1038\u101e\u103c\u102c\u1038\u1031\u1005\u1001\u103a\u1004\u1039\u1010\u1032\u1037\u1021\u1001\u102b \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Fetch<\/strong><br \/>\ngit fetch \u1000\u1031\u1010\u102c\u1037 remote repository \u1019\u103d\u102c \u1018\u102c\u1031\u1010\u103c\u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1031\u1014\u1010\u101a\u1039\u104a commit \u1018\u101a\u1039\u108f\u103d\u1005\u1039\u1001\u102f\u1000 local repository \u1011\u1000\u1039 \u1031\u101b\u103d\u1095\u1018\u101a\u1039\u108f\u103d\u1005\u1039\u1001\u102f\u1031\u101c\u102c\u1000\u1039\u1031\u101b\u102c\u1000\u1039\u1031\u1014\u1010\u101a\u1039 \u1006\u102d\u102f\u1010\u102c\u1031\u1010\u103c\u1000\u102d\u102f checking \u101c\u102f\u1015\u1039\u1010\u1032\u1037 command \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git fetch &lt;remotename&gt;\r\n<\/pre>\n<p><strong>Git Pull<\/strong><br \/>\ngit pull \u1000\u1031\u1010\u102c\u1037 local repository \u1000\u102d\u102f remote repository \u1021\u1010\u102d\u102f\u1004\u1039\u1038 up to date \u103b\u1016\u1005\u1039\u1031\u1005\u1016\u102d\u102f\u1094\u104a \u1021\u103b\u1001\u102c\u1038\u1000\u102d\u102f\u101a\u1039\u1014\u1032\u1094\u1010\u1030\u1010\u1030 \u1010\u103c\u1032\u101c\u102f\u1015\u1039\u1031\u1014\u1010\u1032\u1037\u101e\u1030\u1031\u1010\u103c \u1010\u1004\u1039\u1011\u102c\u1038\u1010\u102c\u1031\u1010\u103c \u1000\u102d\u102f\u101a\u1037\u1039\u101b\u1032\u1095 local repository \u1011\u1032 \u1031\u101b\u102c\u1000\u1039\u101c\u102c\u1031\u1005\u1016\u102d\u102f\u1094 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git pull &lt;remotename&gt; &lt;branchname&gt;\r\n<\/pre>\n<p><strong>Git Push<\/strong><br \/>\ngit push \u1000\u1031\u1010\u102c\u1037 \u1000\u102d\u102f\u101a\u1039\u1037 local repository \u1011\u1032\u1000 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f \u1010\u103b\u1001\u102c\u1038 \u1000\u102d\u102f\u101a\u1039\u1014\u1032\u1094\u1021\u1010\u1030\u1010\u1030 \u1010\u103c\u1032\u101c\u102f\u1015\u1039\u1031\u1014\u1010\u1032\u1037\u101e\u1030\u1031\u1010\u103c \u101e\u102d\u1031\u1005\u1016\u102d\u102f\u1094 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git push -u &lt;remotename&gt; &lt;branchname&gt;\r\n<\/pre>\n<p><strong>Git Status<\/strong><br \/>\ngit status \u1000\u1031\u1010\u102c\u1037 working directory \u1014\u1032\u1094 staging area \u1011\u1032\u1000 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f \u103b\u1015\u1031\u1015\u1038\u1015\u102b\u1010\u101a\u1039\u104b \u1018\u101a\u1039 branch \u1019\u103d\u102c\u1021\u1001\u102f \u1031\u101b\u102c\u1000\u1039\u1031\u1014\u101c\u1032\u104a \u1018\u101a\u1039 file \u1031\u1010\u103c\u1000 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u101c\u102f\u1015\u1039\u1011\u102c\u1038\u101c\u1032\u104a \u1018\u101a\u1039 file \u1031\u1010\u103c\u1000 \u1021\u101e\u1005\u1039\u1011\u100a\u1037\u1039\u1011\u102c\u1038\u101c\u1032 \u1021\u1005\u101b\u103d\u102d\u1010\u102c\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1010\u1032\u1037 command \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git status\r\n<\/pre>\n<p><strong>Git Diff<\/strong><br \/>\ngit diff \u1000\u1031\u1010\u102c\u1037 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1010\u1032\u1037 command \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">\tgit diff \r\n\tgit diff index.html\r\n\tgit diff --staged\r\n\tgit diff --staged index.html\r\n\tgit diff &lt;commit&gt;..&lt;commit&gt;\r\n<\/pre>\n<p>Line 1 command \u1000\u1031\u1010\u102c\u1037 working directory \u1014\u1032\u1094 last commit \u108f\u103d\u1005\u1039\u1001\u102f\u107e\u1000\u102c\u1038\u1000 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 2 command \u1000\u1031\u1010\u102c\u1037 working directory \u1014\u1032\u1094 last commit \u108f\u103d\u1005\u1039\u1001\u102f\u107e\u1000\u102c\u1038\u1000 \u1000\u102d\u102f\u101a\u1039\u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037 file \u101b\u1032\u1095 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 3 command \u1000\u1031\u1010\u102c\u1037 git add \u101c\u102f\u1015\u1039\u107f\u1015\u102e\u1038\u101e\u103c\u102c\u1038\u1010\u1032\u1037 \u1021\u1031\u103b\u1001\u1021\u1031\u1014\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u101e\u1030\u1000\u1031\u1010\u102c\u1037 staging area \u1014\u1032\u1094 last commit \u108f\u103d\u1005\u1039\u1001\u102f\u107e\u1000\u102c\u1038\u1000 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 4 command \u1000\u1031\u1010\u102c\u1037 staging area \u1014\u1032\u1094 last commit \u108f\u103d\u1005\u1039\u1001\u102f\u107e\u1000\u102c\u1038\u1000 \u1000\u102d\u102f\u101a\u1039\u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037 file \u101b\u1032\u1095 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 5 command \u1000\u1031\u1010\u102c\u1037 commits \u108f\u103d\u1005\u1039\u1001\u102f\u107e\u1000\u102c\u1038\u1000 \u1000\u103c\u102c\u103b\u1001\u102c\u1038\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Branch<\/strong><br \/>\ngit branch \u1000\u1031\u1010\u102c\u1037 git \u1000\u102d\u102f \u1005\u107f\u1015\u102e\u1038 initialize \u101c\u102f\u1015\u1039\u1000\u1010\u100a\u1039\u1038\u1000 master branch \u1000\u1031\u1010\u102c\u1037 default \u1015\u102b\u101c\u102c\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b Master branch \u1000 production \u101c\u102f\u1015\u1039\u1019\u101a\u1039\u1037 code \u1031\u1010\u103c\u1015\u1032 \u1011\u102c\u1038\u1031\u1014\u1000\u103a\u1031\u1014\u101b\u102c\u103b\u1016\u1005\u1039\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 \u1021\u1031\u103b\u1015\u102c\u1004\u1039\u1038\u1021\u101c\u1032\u1031\u1010\u103c\u101c\u102f\u1015\u1039\u1016\u102d\u102f\u1094\u1094 \u1031\u1000\u102c\u1004\u1039\u1038\u1010\u1032\u1037 \u1031\u1014\u101b\u102c\u1019\u101f\u102f\u1010\u1039\u1015\u102b\u1018\u1030\u1038\u104b \u1010\u1005\u1039\u1031\u101a\u102c\u1000\u1039\u1010\u100a\u1039\u1038\u1006\u102d\u102f\u101b\u1004\u1039 \u103b\u1015\u1086\u1014\u102c\u1019\u101f\u102f\u1010\u1039\u1031\u1015\u1019\u101a\u1039\u1037 team \u1014\u1032\u1094 \u1031\u101b\u1038\u1010\u1032\u1037\u1021\u1001\u102b\u1019\u103a\u102d\u1033\u1038\u1019\u103d\u102c branch \u1010\u1005\u1039\u1001\u102f\u1015\u1032\u101e\u102f\u1036\u1038\u1031\u1014\u1019\u101a\u1039\u1006\u102d\u102f\u101b\u1004\u1039 code conflicts \u1031\u1010\u103c \u1001\u100f\u1001\u100f\u103b\u1016\u1005\u1039\u1031\u1014\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1021\u1032\u1037\u1012\u102b\u1031\u107e\u1000\u102c\u1004\u1037\u1039 \u101e\u1000\u1039\u1006\u102d\u102f\u1004\u1039\u101b\u102c branch \u1031\u1010\u103c\u1001\u103c\u1032\u107f\u1015\u102e\u1038 \u1031\u101b\u1038\u1016\u102d\u102f\u1094 \u1021\u1010\u103c\u1000\u1039 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git branch -a\r\ngit branch &lt;branchname&gt;\r\ngit checkout -b &lt;branchname&gt;\r\ngit checkout &lt;branchname&gt;\r\ngit checkout -d &lt;branchname&gt;\r\n<\/pre>\n<p>Line 1 command \u1000\u1031\u1010\u102c\u1037 repository \u1011\u1032\u1000 branch \u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000\u102d\u102f \u1031\u1016\u102c\u1039\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 2 command \u1014\u1032\u1094 Line 3 command \u1000\u1031\u1010\u102c\u1037 \u1021\u101e\u1005\u1039 branch \u1010\u1005\u1039\u1001\u102f \u1031\u1006\u102c\u1000\u1039\u1031\u1015\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 4 command \u1000\u1031\u1010\u102c\u1037 \u1021\u1001\u102f \u101b\u103d\u102d\u107f\u1015\u102e\u1038\u101e\u102c\u1038 branch \u1010\u1005\u1039\u1001\u102f\u1006\u102e\u101e\u102d\u102f\u1094 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u1031\u1015\u1038\u1010\u1032\u1037 command \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 5 command \u1000\u1031\u1010\u102c\u1037 branch \u1000\u102d\u102f delete \u101c\u102f\u1015\u1039\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Merge<\/strong><br \/>\ngit merge \u1000\u1031\u1010\u102c\u1037 \u1000\u103c\u1032\u1031\u1014\u1010\u1032\u1037\u1021\u101b\u102c\u108f\u103d\u1005\u1039\u1001\u102f\u1000\u102d\u102f \u1010\u1005\u1039\u1001\u102f\u1010\u100a\u1039\u1038\u103b\u1016\u1005\u1039\u1031\u1021\u102c\u1004\u1039 \u103b\u1015\u1014\u1039\u1031\u1015\u102b\u1004\u1039\u1038\u1031\u1005\u1016\u102d\u102f\u1094 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b\u200b Master branch \u1000 new_feature branch \u1000 \u1031\u103b\u1015\u102c\u1004\u1039\u1038\u101c\u1032\u1019\u1088\u1031\u1010\u103c\u1000\u102d\u102f \u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037\u1021\u1001\u102b merge \u101c\u102f\u1015\u1039\u1031\u1015\u1038\u103b\u1001\u1004\u1039\u1038\u103b\u1016\u1004\u1039\u1037 new_feature branch \u1000 changes \u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000 main branch \u1006\u102e\u1019\u103d\u102c \u1031\u1015\u102b\u1004\u1039\u1038\u1031\u1015\u1038\u101e\u103c\u102c\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git merge new_feature\r\n<\/pre>\n<p><strong>Git Stash<\/strong><br \/>\ngit stash \u1000\u1031\u1010\u102c\u1037 feature-a branch \u1019\u103d\u102c \u1000\u102d\u102f\u101a\u1039\u1021\u101e\u1005\u1039\u1031\u101b\u1038\u1011\u102c\u1038\u1010\u1032\u1037 code \u1031\u1010\u103c\u1000\u102d\u102f repostitory area \u1011\u1032\u1000\u102d\u102f \u101e\u102d\u1019\u1039\u1038\u1016\u102d\u102f\u1094 \u1021\u1006\u1004\u1039\u101e\u1004\u1039\u1037 \u1019\u103b\u1016\u1005\u1039\u1031\u101e\u1038\u1018\u1032 feature-b branch \u1000\u102d\u102f \u101e\u103c\u102c\u1038\u101c\u102d\u102f\u1010\u1032\u1037\u1021\u1001\u102b\u1019\u103a\u102d\u1033\u1038\u1019\u103d\u102c code \u1031\u1010\u103c\u1000\u102d\u102f \u1019\u1006\u102f\u1036\u1038\u101b\u1088\u1036\u1038\u1031\u1021\u102c\u1004\u1039 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b stash changes \u101c\u102f\u1015\u1039\u1011\u102c\u1038\u107f\u1015\u102e\u1038\u107f\u1015\u102e\u1006\u102d\u102f\u1015\u102b\u1000 \u101c\u102d\u102f\u1010\u1032\u1037\u1021\u1001\u103a\u102d\u1014\u1039 \u103b\u1015\u1014\u1039\u1031\u1001\u105a\u101e\u102f\u1036\u1038\u101c\u102d\u102f\u1094\u101b\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git stash\r\ngit stash save \"message\"\r\ngit stash list\r\ngit stash apply stash@{n}\r\ngit stash drop stash@{n}\r\ngit stash clear\r\n<\/pre>\n<p>Line 1 command \u1014\u1032\u1094 Line 2 command \u1000\u1031\u1010\u102c\u1037 changes \u1031\u1010\u103c\u1000\u102d\u102f stash \u101c\u102f\u1015\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u201cmessage\u201d \u1000\u1031\u1010\u102c\u1037 stash \u1000 \u1018\u102c\u1021\u1010\u103c\u1000\u1039\u101c\u102f\u1015\u1039\u1010\u102c\u101c\u1032\u1006\u102d\u102f\u1010\u102c\u1000\u102d\u102f \u101e\u102d\u101c\u103c\u101a\u1039\u1031\u1021\u102c\u1004\u1039 \u1011\u100a\u1039\u1037\u1031\u1015\u1038\u108f\u102d\u102f\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 3 command \u1000\u1031\u1010\u102c\u1037 repository \u1011\u1032\u1000 stash list \u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000\u102d\u102f \u1031\u1016\u102c\u1039\u103b\u1015\u1031\u1015\u1038\u1019\u103d\u102c \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 4 command \u1000\u1031\u1010\u102c\u1037 stash list \u1000\u1031\u1014 \u1000\u102d\u102f\u101a\u1039\u101c\u102d\u102f\u1001\u103a\u1004\u1039\u1010\u1032\u1037 stash number \u1000\u102d\u102f\u1015\u1032 \u103b\u1015\u1014\u1039\u101a\u1030\u101e\u102f\u1036\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 5 command \u1000\u1031\u1010\u102c\u1037 stash list \u1000\u1031\u1014 \u1000\u102d\u102f\u101a\u1039\u1016\u103a\u1000\u1039\u1001\u103a\u1004\u1039\u1010\u1032\u1037 stash number \u1000\u102d\u102f \u1016\u103a\u1000\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<br \/>\nLine 6 command \u1000\u1031\u1010\u102c\u1037 repository \u1011\u1032\u1000 stash list \u1021\u102c\u1038\u101c\u102f\u1036\u1038\u1000\u102d\u102f \u1016\u103a\u1000\u1039\u1031\u1015\u1038\u1019\u103d\u102c\u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<p><strong>Git Log<\/strong><br \/>\ngit log \u1000\u1031\u1010\u102c\u1037 repository \u101b\u1032\u1095 \u103b\u1016\u1005\u1039\u1001\u1032\u1037\u101e\u1019\u103d\u103a \u1019\u103d\u1010\u1039\u1010\u1019\u1039\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u103b\u1015\u1014\u1039\u107e\u1000\u100a\u1037\u1039\u1016\u102d\u102f\u1094 \u101e\u102f\u1036\u1038\u1015\u102b\u1010\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">git log\r\ngit log --oneline --decorate --graph\r\n<\/pre>\n<p><strong>.gitignore<\/strong><br \/>\nGit \u1000\u1031\u1014 track \u1019\u101c\u102f\u1015\u1039\u1031\u1005\u1001\u103a\u1004\u1039\u1010\u1032\u1037 file \u1031\u1010\u103c\u104a folder \u1031\u1010\u103c\u1000\u102d\u102f .gitignore file \u1011\u1032\u1019\u103d\u102c \u1031\u101b\u1038\u1031\u1015\u1038\u101b\u1015\u102b\u1019\u101a\u1039\u104b<\/p>\n<pre class=\"brush: css; notranslate\" title=\"\">file.txt\r\nfolder\/\r\n*.dmg\r\n*.apk\r\n<\/pre>\n<p>\u1021\u1001\u103a\u102d\u1014\u1039\u1031\u1015\u1038\u107f\u1015\u102e\u1038\u1016\u1010\u1039\u1031\u1015\u1038\u1010\u1032\u1037\u1021\u1010\u103c\u1000\u1039 \u1031\u1000\u103a\u1038\u1007\u1030\u1038\u1010\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u1001\u1004\u1039\u1017\u103a\u104b<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u1019\u1002\u1064\u101c\u102c\u1015\u102b\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c Backend Developer \u1021\u1031\u1014\u1014\u1032\u1094 \u1010\u102c\u101d\u1014\u1039\u101a\u1030\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u1031\u1014\u1010\u1032\u1037 \u101e\u102f\u1010\u101a\u102c\u1019\u102d\u102f\u1038 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1012\u102e\u1010\u1005\u1039\u1031\u1001\u102b\u1000\u1039\u1019\u103d\u102c\u1031\u1010\u102c\u1037 \u1021\u101e\u102f\u1036\u1038\u1019\u103a\u102c\u1038\u1010\u1032\u1037 git commands \u1021\u1031\u107e\u1000\u102c\u1004\u1039\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u101e\u102d\u101e\u1031\u101c\u102c\u1000\u1039 \u1031\u101d\u1019\u103d\u103a\u1031\u1015\u1038\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b Git \u1000\u1031\u1010\u102c\u1037<\/p>\n","protected":false},"author":51,"featured_media":8163,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar\" \/>\n<meta property=\"og:description\" content=\"\u1019\u1002\u1064\u101c\u102c\u1015\u102b\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c Backend Developer \u1021\u1031\u1014\u1014\u1032\u1094 \u1010\u102c\u101d\u1014\u1039\u101a\u1030\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u1031\u1014\u1010\u1032\u1037 \u101e\u102f\u1010\u101a\u102c\u1019\u102d\u102f\u1038 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1012\u102e\u1010\u1005\u1039\u1031\u1001\u102b\u1000\u1039\u1019\u103d\u102c\u1031\u1010\u102c\u1037 \u1021\u101e\u102f\u1036\u1038\u1019\u103a\u102c\u1038\u1010\u1032\u1037 git commands \u1021\u1031\u107e\u1000\u102c\u1004\u1039\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u101e\u102d\u101e\u1031\u101c\u102c\u1000\u1039 \u1031\u101d\u1019\u103d\u103a\u1031\u1015\u1038\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b Git \u1000\u1031\u1010\u102c\u1037\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Development &amp; Tech Blog | Spiceworks Myanmar\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-29T08:30:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"366\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Thuta Yar Moe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thuta Yar Moe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/\"},\"author\":{\"name\":\"Thuta Yar Moe\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/5883aee80b174692301288a1d3a56405\"},\"headline\":\"Git (Git Commands)\",\"datePublished\":\"2022-07-29T08:30:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/\"},\"wordCount\":384,\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/cover_gitcommands.png\",\"articleSection\":[\"System\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/\",\"name\":\"Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/cover_gitcommands.png\",\"datePublished\":\"2022-07-29T08:30:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/5883aee80b174692301288a1d3a56405\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/cover_gitcommands.png\",\"contentUrl\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/07\\\/cover_gitcommands.png\",\"width\":700,\"height\":366},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/git-git-commands\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Git (Git Commands)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/\",\"name\":\"Web Development &amp; Tech Blog | Spiceworks Myanmar\",\"description\":\"Read Spiceworks Myanmar\u2019s blog on web development, design trends, and IT solutions. Stay informed with tips and insights from our experienced developers.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/#\\\/schema\\\/person\\\/5883aee80b174692301288a1d3a56405\",\"name\":\"Thuta Yar Moe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g\",\"caption\":\"Thuta Yar Moe\"},\"url\":\"https:\\\/\\\/www.spiceworksmyanmar.com\\\/blog\\\/author\\\/thuta-yar-moe\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/","og_locale":"en_US","og_type":"article","og_title":"Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar","og_description":"\u1019\u1002\u1064\u101c\u102c\u1015\u102b\u104b \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u1000\u1031\u1010\u102c\u1037 Spiceworks Myanmar \u1019\u103d\u102c Backend Developer \u1021\u1031\u1014\u1014\u1032\u1094 \u1010\u102c\u101d\u1014\u1039\u101a\u1030\u101c\u102f\u1015\u1039\u1000\u102d\u102f\u1004\u1039\u1031\u1014\u1010\u1032\u1037 \u101e\u102f\u1010\u101a\u102c\u1019\u102d\u102f\u1038 \u103b\u1016\u1005\u1039\u1015\u102b\u1010\u101a\u1039\u104b \u1012\u102e\u1010\u1005\u1039\u1031\u1001\u102b\u1000\u1039\u1019\u103d\u102c\u1031\u1010\u102c\u1037 \u1021\u101e\u102f\u1036\u1038\u1019\u103a\u102c\u1038\u1010\u1032\u1037 git commands \u1021\u1031\u107e\u1000\u102c\u1004\u1039\u1038\u1031\u1010\u103c\u1000\u102d\u102f \u1000\u103c\u107d\u1014\u1039\u1031\u1010\u102c\u1039\u101e\u102d\u101e\u1031\u101c\u102c\u1000\u1039 \u1031\u101d\u1019\u103d\u103a\u1031\u1015\u1038\u1001\u103a\u1004\u1039\u1015\u102b\u1010\u101a\u1039\u104b Git \u1000\u1031\u1010\u102c\u1037","og_url":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/","og_site_name":"Web Development &amp; Tech Blog | Spiceworks Myanmar","article_published_time":"2022-07-29T08:30:05+00:00","og_image":[{"width":700,"height":366,"url":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png","type":"image\/png"}],"author":"Thuta Yar Moe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Thuta Yar Moe","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#article","isPartOf":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/"},"author":{"name":"Thuta Yar Moe","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/5883aee80b174692301288a1d3a56405"},"headline":"Git (Git Commands)","datePublished":"2022-07-29T08:30:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/"},"wordCount":384,"image":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png","articleSection":["System"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/","name":"Git (Git Commands) - Web Development &amp; Tech Blog | Spiceworks Myanmar","isPartOf":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#primaryimage"},"image":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png","datePublished":"2022-07-29T08:30:05+00:00","author":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/5883aee80b174692301288a1d3a56405"},"breadcrumb":{"@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#primaryimage","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png","contentUrl":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-content\/uploads\/2022\/07\/cover_gitcommands.png","width":700,"height":366},{"@type":"BreadcrumbList","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/git-git-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.spiceworksmyanmar.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Git (Git Commands)"}]},{"@type":"WebSite","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#website","url":"https:\/\/www.spiceworksmyanmar.com\/blog\/","name":"Web Development &amp; Tech Blog | Spiceworks Myanmar","description":"Read Spiceworks Myanmar\u2019s blog on web development, design trends, and IT solutions. Stay informed with tips and insights from our experienced developers.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.spiceworksmyanmar.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.spiceworksmyanmar.com\/blog\/#\/schema\/person\/5883aee80b174692301288a1d3a56405","name":"Thuta Yar Moe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f1801721c7fb06c2ba2c886067bf36bc83b80f6fb00bd1c2b47c6ef27c3360a8?s=96&d=mm&r=g","caption":"Thuta Yar Moe"},"url":"https:\/\/www.spiceworksmyanmar.com\/blog\/author\/thuta-yar-moe\/"}]}},"_links":{"self":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/8106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/users\/51"}],"replies":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/comments?post=8106"}],"version-history":[{"count":57,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/8106\/revisions"}],"predecessor-version":[{"id":8175,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/posts\/8106\/revisions\/8175"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/media\/8163"}],"wp:attachment":[{"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/media?parent=8106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/categories?post=8106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.spiceworksmyanmar.com\/blog\/wp-json\/wp\/v2\/tags?post=8106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}