הלינקייה: מגזין חודשי למפתחים

רוצה לשמוע על כל האירועים, המדריכים, הקורסים והמאמרים שנכתבו החודש ?
הלינקייה הינו מגזין חופשי בעברית שמשאיר אותך בעניינים.
בלי ספאם. בלי שטויות. פעם בחודש אצלך בתיבה.

Git

  1. Create a new git repository and add the following 2 files:
    colors.txt
    numbers.txt
    Write some colors into colors.txt, and some numbers into numbers.txt
  2. Check the repository's log file. What is the commit number ?
  3. Create the following empty files: data1, data2, data3 - and add them to the repository in a commit
  4. Check the repository's log file. What is the commit number ?
  5. Create the following two empty files: prog1.c prog2.c, and add them to the repository in two separate commits
  6. Modify numbers.txt by adding some more numbers to it. Display the difference between the new file and the saved one.
    Discard your changes and go back to the saved copy
  7. Add some colors into colors.txt, and write your name into data1. Commit your changes
  8. Restore the state of the entire project to go back to step 1, step 3, and then back to head
course: