Useful git commands

Some useful git commands which I  learned.

If you want to delete everything (.git folder, files and folders), just delete the whole directory:

Add all file:

Commit:

Change last commit:

Whenever you are doing a git pull, always use the rebasing option:

Changing multiple commit message (interactive rebase):

 

Bir Cevap Yazın

E-posta hesabınız yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Şu HTML etiketlerini ve özelliklerini kullanabilirsiniz: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">