Skip to content

Instantly share code, notes, and snippets.

@ChaelCodes
Last active July 11, 2023 02:28
Show Gist options
  • Save ChaelCodes/5e4c345030e3a3394223c5d5e1be7465 to your computer and use it in GitHub Desktop.
Save ChaelCodes/5e4c345030e3a3394223c5d5e1be7465 to your computer and use it in GitHub Desktop.
Stop using `git add .` - Image Alt text

Image 1 git status

On branch main
Your branch is up to date with 'origin/main'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   _config.yml

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   Gemfile.lock
        modified:   _layouts/stretch.html
        modified:   _posts/2023-06-25-fibonacci-shawl-pattern.md
        modified:   _sass/layouts/_stretch.scss

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        _posts/2023-07-09-stop-git-add-dot.md
        _posts/vim-commands.md
        assets/img/profile_pic.JPG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment