Skip to content

Instantly share code, notes, and snippets.

@goFrendiAsgard
Created March 26, 2020 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goFrendiAsgard/a405a2a846ff22a4aa2afae31eef5675 to your computer and use it in GitHub Desktop.
Save goFrendiAsgard/a405a2a846ff22a4aa2afae31eef5675 to your computer and use it in GitHub Desktop.
echo "awal yang bagus" > catatan-sejarah.txt # buat file "catatan-sejarah.txt", beri nilai "awal yang bagus"
git add . -A # stage semua file dalam directory ini. Tanda "." berarti "current directory", dan parameter "-A" berarti semua
git commit -m "sebuah awal" # commit semua perubahan sejauh ini dengan pesan "sebuah awal"
git log # lihat semua sejarah sejauh ini
# commit f3708176f813ec10e0c92b4724ce422320c4ede0 (HEAD -> master)
# Author: gofrendi <gofrendiasgard@gmail.com>
# Date: Thu Mar 26 16:29:07 2020 +0700
#
# sebuah awal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment