Git/C2/Basic-commands-of-Git/Khasi
From Script | Spoken-Tutorial
Revision as of 17:11, 26 July 2017 by PoojaMoolya (Talk | contribs)
00:01 | Pdiang sngewbha sha ka spoken tutorial halor Basic commands of Git. |
00:05 | Ha kane ka tutorial, ngin pule shaphang ka : Git repository bad katto katne ki basic commandjong ka Git. |
00:13 | Na bynta kane ka tutorial, Nga pyndonkam ka :
Ubuntu Linux 14.04 Git 2.3.2. bad 'gedit' Text Editor. |
00:23 | Phi lah ban pyndonkam kano kano ka editor kaba phi kwah. |
00:27 | Ban bud ïa kane ka tutorial, phi dei ban don ka jingtip ban run ïaki Linux commands ha u Terminal. |
00:34 | Lada em, na bynta ka Linux ‘‘‘ tutorial ba kum kane sngewbha leit shaka website jong ngi. |
00:40 | Mynta, ngin peit kaei ka Git repository. |
00:44 | Ka Git repository ka dei ka folder ha kaba baroh ki data jong ka project jong ngi yn buh. |
00:50 | Ka Git ka Lah ban shong haka local machine lane haka remote machine. |
00:55 | Ka jingïapher jong ka normal folder bad ka Git repository ka long- |
01:00 | ka normal folder ka kynthup tang ïaki file bad ki directories |
01:04 | hynrei ka Git repository ka kynthup ïaki shi kynhun ki file bad directories ryngkat bad ka history baroh jong ki. |
01:11 | Mynta, to ngin pule ban shna ïaka Git repository haka local machine jong ngi. |
01:17 | Ñion ki key Ctrl+Alt+T ban plie ïa u terminal. |
01:22 | Haka machine jong nga, Nga la shna ïaka directory naka bynta ka Git repository haka Home directory jong nga. |
01:28 | Phi lah ban shna ïaka directory shano ba phi kwah haka machine jong phi. |
01:33 | Da kaba long hi, ngi don haka Home directory jong ngi. |
01:37 | Type: mkdir space mywebpage bad ñion Enter. |
01:44 | Te, Mynta ngi lah shna ïaka directory "mywebpage" haka Home directory jong ngi. |
01:49 | Ban leit sha kane ka directory, type: cd space mywebpage bad ñion Enter. |
02:00 | Ban pynlong ïaka "mywebpage" directory kum ka Git repository, type: git space init bad ñion Enter. |
02:08 | Phi lah ban iohi ïaka message “Initialized empty Git repository”. |
02:13 | Kane ka pyni ba ka Git lahdep initialize da kaba jop. |
02:17 | bad kane kadei ka path ha kaba ïaka Git repository la shna haka system jong ngi. |
02:24 | Hadien ka initialization, ka hidden folder ‘‘‘dot git yn sa shna hapoh ka mywebpage folder. |
02:32 | Ban iohi ïaka hidden folder, type: ls space hyphen a bad ñion Enter. |
02:39 | Ka pyni ïaka dot git folder. Lada Delete ïa kane ka dot git folder kan delete ïaka repository baroh kawei. |
02:47 | Te, phi dei ban long phikir bha bad kane ka dot git folder. |
02:51 | Mynta, ngi dei ban buh ïaka identity jong ngi sha ka Git. |
02:55 | Ban buh ïaka email address, type: git space config space hyphen hyphen global space user dot email space priya[dot]spoken@gmail.com bad ñion Enter. |
03:12 | Hangne, nga la pyndonkam ka priya[dot]spoken[at]gmail[dot]com. |
03:18 | Phi lah ban pyndonkam ïaka email address ba dang treikam jong phi. |
03:21 | Ban buh ïaka username, type: git space config space hyphen hyphen global space user dot name space Priya bad ñion Enter. |
03:36 | Nga la pyndonkam ïaka "Priya" kum ka username. Sngewbha pyndonkam daka kyrteng jong phi haka jaka jong "Priya". |
03:43 | Ka kyrteng bad ka email address kaba ngi lah buh ki dei ki identity jong u briew uba treikam haka Git. |
03:51 | Kaba bud, Ngan configure ïaka gedit text editor ban ai ka commit message. |
03:57 | Type: git space config space hyphen hyphen global space core dot editor space gedit bad ñion Enter. |
04:09 | Mynta, ïaka gedit la configure sha ka Git. |
04:14 | Hangne, 'global' flag ka long optional. |
04:17 | Ngin phai biang sha ki slide jong ngi ban tip shuh shuh shaphang ka global flag. |
04:22 | Lah ban shna bun tylli ki repository ha kawei ka machine. |
04:26 | Lada phi pyndonkam ïa ka hyphen hyphen global flag, ïaki setting yn sa pyntreikam ha baroh ki repository haka machine. |
04:34 | Te, Ha man ba phi shna ïaka Git repository, bathymmai, kane ka setting ynsa pyntreikam hi ïaka. |
04:42 | Lada phi kwah ïaka identity tang naka bynta ka repository ba phi thmu, te wat ym pyndonkam ïa ka hyphen hyphen global flag. |
04:49 | Phai biang sha ka terminal. |
04:51 | Mynta, to ngi peit ïaka configuration detail jong ka identity kaba ngi lah buh hashwa. |
04:57 | Type: git space config space hyphen hyphen list bad ñion Enter. |
05:04 | Mynta, phin iohi ïa ka editor name, email address bad username. |
05:10 | Ngan pyndonkam ïaki 'html' file ban pyni nuksa. |
05:14 | Phi lah ban pyndonkam kano kano ka jaid file kaba phi kwah. Kum ka nuksa, ki text file lane doc file. |
05:22 | Phai biang sha ka terminal. To ngan pynkhuid noh ïa u prompt. |
05:26 | Mynta, type: gedit space mypage.html space ampersand. |
05:34 | Lada phi pyndonkam da kawei pat ka file, te ai ïaka kyrteng jong kata ka file haka jaka jong ka "mypage.html". |
05:41 | Ngi pyndonkam u '&' (ampersand) ban pyllait noh ïa u prompt. Mynta, ñion Enter. |
05:47 | Ngan copy bad paste katto katne ki code sha kane ka file, naka Writer document, jong nga kaba nga la save hashwa. |
05:54 | Ha kajuh ka rukom, thep katto katne ki content sha ka file jong phi. |
05:58 | Mynta, ngan save ïaka file jong nga. |
06:00 | Te, nga don ïa ka html file ryngkat ki code haka. |
06:05 | Kynmaw: ha man ba nga pyndonkam ka mypage.html, phi dei ban bujli ïaka daka filename jong phi. |
06:13 | Kaba bud, ngin phah ïaka Git ban bud ïaka file "mypage.html". |
06:18 | Phai biang sha ka terminal bad type: git space add space mypage.html bad ñion Enter. |
06:27 | Mynta, ngin peit ïaka jinglong ba mynta jong ka ‘‘‘Git’’’. Te , type: git space status bad ñion Enter. |
06:36 | Phi lah ban iohi ïaka “new file: mypage.html”. Kane ka mut ba ka Git ka lah sdang ban bud ïaki jingkylla bala leh ha kane ka file "mypage.html". |
06:48 | ïa kane la khot tracking. |
06:51 | To ngin phai biang sha ka file mypage.html jong ngi. |
06:55 | bad thep shuh katto katne ki laiñ jong u code sha kane ka file. |
06:58 | Kumba mynne, ngan copy-paste naka Writer file jong nga. |
07:06 | Save bad khang ïaka file. |
07:10 | Nangta phai biang sha ka terminal. Kumba mynne, ban peit ïaka jinglong ba mynta jong ka Git, type: git space status bad ñion Enter. |
07:21 | Ka pyni iaka : “Changes not staged for commit:” bad “modified: mypage.html”. |
07:28 | Kane ka mut ba khlem pat thep ïaki jingpynkylla ba ngi la leh sha ka staging area. |
07:34 | To ngin phai biang sha ki slide jong ngi ban tip shuh shuh shaphang ka Staging area. |
07:39 | Staging area Kadei ka file kaba buh ïaki thup jingtip jong ki jingpynkylla kiba donkam ban commit. |
07:46 | ïaKi file content dei ban thep sha ka staging area shwa ban commit ïaki. |
07:51 | Ngin sa ïa kren bha shaphang ka commit haki tutorial ban wan. |
07:56 | HaKi Git version ba kham rim la ju khot ïaka index’’’ haka jaka jong staging area. |
08:01 | Mynta, to ngin peit kumno ban thep ïaki jingkylla ba thymmai jong ka file sha ka staging area. |
08:07 | Phai biang sha ka terminal. To ngan pynkhuid ïa u prompt. |
08:11 | Type: git space add space mypage dot html bad ñion Enter. |
08:19 | Ban peit ïaka status jong ka Git, type: git space status bad ñion Enter. |
08:26 | Mynta phi lah ban iohi ïaka message: “Changes to be committed:”. |
08:30 | Kane ka mut ba ïaka file lahdep thep sha ka staging area bad ka la long ban commit. |
08:37 | Mynta, ngin freeze ïa u code jong ngi ha kane ka por |
08:40 | Ynda ngi la poi sha ki stage kiba sha neng haki kam jong ngi, ngi lah ban ‘‘‘save’’’ ïaki ha ka repository. Ïa kane la khot commit. |
08:49 | Kawei pa kawei ka commit la save ryngkat ki thup jingtip jong ki username, email-id, date, time bad commit message. |
08:57 | Mynta, to ngin peit kumno ban commit. Phai biang sha u terminal bad type: git space commit bad ñion Enter. |
09:07 | Ka gedit text editor ka plie hi dalade ban ioh ïaka commit message. |
09:13 | Ha u laiñ ba nyngkong, ngan type: “Initial commit” kum ka commit message. |
09:18 | Phi lah ban type kano kano ka message ba ai jingtip kaba phi kwah. |
09:22 | Hangne, phi lah ban iohi katto katne ki laiñ kiba sdang da ki hash. Phi lah ban ieh ïaki kumto lane phi lah ban delete noh ïaki. |
09:30 | Sngewbha thoh ïaka commit message shwa lane hadien u hash line. |
09:35 | Hadien habud, da kane ka commit message, ngi lah ban ithuh ïa kaei kaba ngi la leh tad haduh kane ka stage. |
09:41 | To ngan save bad khang noh ïa u editor. |
09:44 | Phin iohi katto katne ki jingbatai bniah, kum:
Ka commit message Katno tylli ki file kiba ngi la pynkylla Katno tylli ki jingthep ba ngi lahdep leh bad Ka kyrteng jong ka file. |
09:56 | Mynta, to ngin peit ïaki jingbniah jong ka ‘‘‘commit’’’ dakaba pyndonkam ka git log command. |
10:00 | Type: git space log bad ñion Enter. |
10:06 | Ngi don tang kawei ka commit haka repository jong ngi. |
10:09 | Ka pyni ïa u ID uba kyrpang uba la khot commit hash lane SHA-1 hash. |
10:16 | Phai biang sha ki slides jong ngi ban tip shuh shuh shaphang ka SHA-1 hash. |
10:20 | SHA-1 hash u dei u id ba kyrpang jong ki 40 tylli ki alpha-numeric character. |
10:25 | Ka Git ka buh ïaki thup jingtip baroh haka database jong ka da u hash value. |
10:31 | Git commit la pynithuh da u SHA-1 hash. |
10:35 | Phin sa sngewthuh ïaka jingkongsan jong u SHA-1 hash ha ki tutorial ba shadien. |
10:41 | To ngin wan biang sha u terminal jong ngi. |
10:43 | U pyni ïaki jingpyni bniah jong ka commit kum author name, email address, date, time bad ka commit message kaba ngi la ai hashwa. |
10:56 | Da kane, ngi lahpoi sha kaba kut jong kane ka tutorial. |
11:00 | To ngin batai lyngkot. Ha kane ka tutorial, ngi la pule shaphang:
Git repository bad Katto katne ki basic command jong ka Git kum git init, status, commit bad log. |
11:14 | Kum ka Assignment – Shna ïaka directory haka machine jong phi bad pynlong ïaka kum ka ‘‘‘repository’’’. |
11:20 | Shna ïaka text file bad thep shuh katto katne ki content sha ka. |
11:25 | Thep ïaka file sha ka staging area jong ka Git repository. |
11:29 | Commit ïaka file sha ka repository jong phi bad |
11:32 | Peit ïaka commit details pyndonkam ka git log command. |
11:35 | Ka video badon haka link harum, Ka batai lyngkot ïaka Spoken Tutorial project sngewbha download bad peit ïaka. |
11:43 | Ka Spoken Tutorial Project team Ka pynlong workshops bad Ka ai certificates sha kito kiba pass ïaka on-line test.
Ban tip kham bniah, sngewbha thoh sha ngi. |
11:55 | ïaka Spoken Tutorial Project la bei tyngka daka NMEICT, MHRD, Sorkar India. |
12:02 | Khambun ka jingtip halor kane ka mission kadon ha ka link harum. |
12:08 | ïa kane ka script la pynkylla sha ka ktien Khasi da I Hezekiah Lyngdoh na Shillong.
Khublei ba phi la ïasnohlang. |