GIT STASH

A practical guide to using the git stash command The first thing to understand is why stashing changes in Git is important. Assume for a moment that Git doesn't have a command to stash changes. Suppose you are working on a repository with two branches, A and B. The A and B branches have diverged … Continue reading GIT STASH

How to refresh .gitignore when making changes to .gitignore file

Here are just some points to note when making changes to the .gitgnore file to ensure Git is always tracking the right files. Make changes in .gitignore file.Run git rm -r --cached . command.Run git add . commandgit commit -m "Commit message" or just git commit or continue working. What is really important here is step 2. And remember to just run git add . command before doing any … Continue reading How to refresh .gitignore when making changes to .gitignore file

git – panduan ringkas

persiapan Unduh git untuk OSX Unduh git untuk Windows Unduh git untuk Linux buat repositori baru buat lah direktori baru, buka dan jalankan git inituntuk membuat repositori git baru. periksa repositori buat lah salinan kerja dari repositori lokal dengan menjalankan perintahgit clone /jalur/ke/repositorisaat menggunakan server jarak-jauh, perintahnya menjadigit clone namapengguna@host:/jalur/ke/repositori alur-kerja repositori lokal kamu terdiri dari … Continue reading git – panduan ringkas

Dasar-dasar Git – Merekam Perubahan ke dalam Repositori

Merekam Perubahan ke dalam Repositori Anda sudah memiliki repositori Git yang bonafide dan sebuah salinan kerja dari semua berkas untuk proyek tersebut. Anda harus membuat beberapa perubahan dan commit perubahan tersebut ke dalam repositori setiap saat proyek mencapai sebuah keadaan yang ingin Anda rekam. Ingat bahwa setiap berkas di dalam direktori kerja Anda dapat berada … Continue reading Dasar-dasar Git – Merekam Perubahan ke dalam Repositori