Ana içeriğe atla

Git Bash, commit, push and pull operations

Git is very populer version control system in various application for project teams.There are some application to manage git in visual applications such as tortoies git, etc.

But usually people prefer to use git bash console screen to manage git operations, its very fastest way to use git.

While you working on git ;

Git Commit operation :

1.get the differences between server and local repositorie with following command.
$ git status
2.With the following command line we can commit all the code showed at git status command.
$ git commit -a -m "update reason text" 
3.With the following command line we can send to server all the changes with our commit text.
$ git push

First time to commit our code : 

sometimes when we run commit code, it can says that I don't know who you are please set configuration with your informations.If we get this message, we can easly use following line
git config --global user.email "yourmail@domain.com"

Git pull operarations

1.get the differences between server and local repositorie with following command.
$ git status
2.get the updated code from server repositories
$ git pull



Hope that it can be useful for you!

Bu blogdaki popüler yayınlar

Cannot resolve the collation conflict between "Turkish_CI_AS" and "SQL_Latin1_General_CP1_CI_AS" in the equal to operation.

iki ayrı veri tabanı içindeki tablolar ile işlem yapılmak istendiğinde eğer dil sorunu çıkıyor ise sorgumuzun sonuna 'COLLATE TURKISH_CI_AS' sözcüğünü ekleyerek sorunu çözebiliriz.Örnek : SELECT * FROM veritabani1.dbo.URUN u1 INNER JOIN veritabani2.dbo.URUNLER u2 ON u1.kod = u2.kod COLLATE TURKISH_CI_AS umarım faydalı olmuştur.

IEnumerable ile List Arasındaki Farklar

Sık kullandığımız iki tip olan IEnumerable ve List tipleri ile ilgili sürekli kullanılmasına rağmen farkının çok bilinmediğini düşünerek bu konuda kısa bir yazı yazmak istedim. Bakalım aralarında farklar nelermiş. IEnumerable bir interface iken, List yine IEnumerable sınıftan türeyen somut ( concrete) bir sınıftır. Arasındaki Farklar :  IEnumerable  - List e göre iteration çok daha hızlıdır. Performans için kullanılabilir.  - Read Only bir tip olduğu için Add, Remove gibi işlemler yapılamaz, IEnumerable ile sadece iteration, sort, filter gibi işlemler yapılabilir.  - Soyut bir class olduğu için istenen tipe somutlaştırılabilir.  - yield tipi ile birlikte kullanılabilir.(Promise veri döndürme,state-machine liste kullanımı)  - Linq sorguları veri tabanı sorgularınızın cevaplarınızı IEnumerable olarak döndürür, bu size siz ilgili IEnumerable list i iterate edene kadar ilgili sorguyu çalıştırmama performansı verir, böylece ilgili listeyi kullanmaya ihtiyacınız olmadığı bir durumda yada k

Netsis : "SQL : Select Sube_Kodu,MeRKEZMI,ISLETME_KODU FROM TBLSUBELER WITH (NOLOCK) Where Sube_Kodu = 0 " Login failed for user 'sa'.(NetsisM Hatası

Bu hatayı alıyorsanız muhtemelen Nesis in netopenx bileşenini kullanırken kernel nesnesi ile yeni şirket oluşturyorsunuzdur ve veri tabanı kullanıcı adı ve şifre kısmında hatalı parametre göndermişsinizdir. Netsis netopenx 3.0 sürümünden sonra kernel nesnesi ile yeni şirket oluşturuken bu kısıma VeriTabanı kullanıcı adına standart olarak "TEMELSET" yazmak gerekiyor ve şifre kısmınıda boş bırakmak gerekiyor.Netsis kendi içinden bu şifreyi alıp dolduruyor. Umarım Faydalı olmuştur. :)