Skip to content

k97-Media/git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Git

Git bo asti saratay, baseki kurti Git wa farmana grngakani.

bo sairkrdni hamu Alqakan Klik lera bka


Listi hamu alqakan :


Alqay Yakam

Lam Alqayada baseki kurti Git akain.

Bo sairkrdn Klik lera bka


Alqay Dwam

Lam Alqayada basi choneti dabazandni Git akain.

Bo sairkrdn Klik lera bka


Alqay Seyam

Lam Alqayada baseki kurti Terminal akain lagal fermana sarataiakan.

Bo sairkrdn Klik lera bka

  • bo zanini aw shwenai ka teidain

    $ pwd
    
  • bo pishandani hamu aw Folder w Failanai ka la shwenkda han

    $ ls
    
  • bo chwna naw Folderek

    $ cd NAWI FOLDER/NAWI FOLDEReki tr
    

    Numwna :

    $ cd Downloads/git
    
  • bo garanawa bo serata

    $ cd
    
  • bo garanawa bo Foldery peshw

    $ cd ../
    
  • bo drwstkdni File

    $ touch NAW.jor
    

    Nmuna :

    $ touch ferkari.txt
    
  • bo drwstkrdni Folder

    $ mkdir NAW
    

    Nmwna :

    $ mkdir Ferkari
    

Alqay Chwaram

Lam Alqayada basi Rekxstn w Farmanakani git akain.

Alqaka la YOUTUBE jare bar dast nia

Rekxstni Git

  • Bo danani nawi bakarhenar

    $ git config --global user.name "NAWI XOT"
    

    Nmwna :

    $ git config --global user.name "korak"
    
  • Bo danani Emaili bekarhenar

    $ git config --global user.email EMAILakat@nazanm.com
    

    Nmwna :

    $ git config --global user.email korak@example.com
    
  • Bo diari krdni aw Programmai komiti Giti pe anwsin

    $ git config --global core.editor nano
    

Fermanakani Git

  • Bo dabazandni Repoiak

    $ git clone URL
    

    Nmwna :

    $ git clone https://github.com/k97-Media/git.git
    
  • Bo sairkrdni Gorankariakan

    $ git status
    
  • Bo nardni gorankariakan bo Bashi Staging

    • Am farmana hamw aw Failanai gorawn aneret bo Bashi Staging
      $ git add .
      
    • Am farmana tanha aw Faila aneret bo Bashi Staiging ka nawakai anwsin
      $ git add NAWI.jor
      
      Nmwna :
      $ git add ferkari.txt
      
  • Bo Kommit krdn

    • Bo kommit krdn wa nwsini namai kommit la haman katda

      $ git commit -m " NAMAKAT LERA ANWSI "
      

      Nmwna :

      $ git commit -m " Gorini rangi background "
      
    • bo kommit krdn wa nwsini namai kommit ba drezhi

      $ git commit
      
  • Bo nardni gorankariakan bo Repoi saraki

    $ git push