אינטרנט ישראל
  • אודות
  • לכל המאמרים באתר
  • הערוץ בטלגרם
  • הערוץ בווטסאפ
  • טוויטר
  • פייסבוק
  • לינקדאין
  • הספרים שלי ללימוד תכנות
  • אודות
  • לכל המאמרים באתר
  • הערוץ בטלגרם
  • הערוץ בווטסאפ
  • טוויטר
  • פייסבוק
  • לינקדאין
  • הספרים שלי ללימוד תכנות
ראשי » מדריכים » Git » לבטל דברים בגיט מקומי » git reset filename

git reset filename

$ git status On branch master Untracked files: (use "git add ..." to include in what will be committed) another_file.html nothing added to commit but untracked files present (use "git add" to track) barzik@BARZIK2 MINGW64 ~/test/examplegit (master) $ git add another_file.html barzik@BARZIK2 MINGW64 ~/test/examplegit (master) $ git status On branch master Changes to be committed: (use "git reset HEAD ..." to unstage) new file: another_file.html barzik@BARZIK2 MINGW64 ~/test/examplegit (master) $ git reset another_file.html barzik@BARZIK2 MINGW64 ~/test/examplegit (master) $ git status On branch master Untracked files: (use "git add ..." to include in what will be committed) another_file.html nothing added to commit but untracked files present (use "git add" to track) barzik@BARZIK2 MINGW64 ~/test/examplegit (master)

$ git status
On branch master
Untracked files:
(use "git add …" to include in what will be committed)

another_file.html

nothing added to commit but untracked files present (use "git add" to track)

barzik@BARZIK2 MINGW64 ~/test/examplegit (master)
$ git add another_file.html

barzik@BARZIK2 MINGW64 ~/test/examplegit (master)
$ git status
On branch master
Changes to be committed:
(use "git reset HEAD …" to unstage)

new file: another_file.html

barzik@BARZIK2 MINGW64 ~/test/examplegit (master)
$ git reset another_file.html

barzik@BARZIK2 MINGW64 ~/test/examplegit (master)
$ git status
On branch master
Untracked files:
(use "git add …" to include in what will be committed)

another_file.html

nothing added to commit but untracked files present (use "git add" to track)

barzik@BARZIK2 MINGW64 ~/test/examplegit (master)

השארת תגובה

ביטול

ללמוד ג'אווהסקריפט בעברית

הצטרפו לאלפי הקוראים של הספרים שלי שמלמדים תכנות מעשי בקלות ובעברית

  • מדריכים
    • מדריך ל-ESP32 לילדים ולהורים מאפס
    • טייפסקריפט
    • ריאקט
    • ECMAScript 6
    • ES20XX
    • מיקרו בקרים
    • רספברי פיי
    • Node.js
    • Express
    • Babel
    • docker
    • MongoDB
    • Git
    • לימוד MySQL
    • SASS
    • jQuery
  • פיתוח אינטרנט
    • פתרונות ומאמרים על פיתוח אינטרנט
      • יסודות בתכנות
    • נגישות אינטרנט
  • חדשות אינטרנט
  • מידע כללי על אינטרנט
    • רשת האינטרנט
    • בניית אתרי אינטרנט

כל הזכויות שמורות לרן בר-זיק ולאינטרנט ישראל | מדיניות הפרטיות של אתר אינטרנט ישראל | אתר אינטרנט ישראל נגיש לפי תקן WCAG 2.0 AA | הצהרת הנגישות של האתר | אבטחת מידע ודיווח על בעיית אבטחת מידע

גלילה לראש העמוד