Closed kumardss closed 7 years ago
@kumardss I think you might have a spelling error. Try git log --oneline
, not git log --online
.
Does this answer your question?
$ git lol git: 'lol' is not a git command. See 'git --help'.
Did you mean this? log
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lof git: 'lof' is not a git command. See 'git --help'.
Did you mean this? log
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git config --global alias.lol "log --online --graph --decorate --all"
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git config --global alias.lol "log --online --graph --decorate --all"
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
$ git log --oneline 328b804 Merge pull request #1 from kumardss/readme-update d0d3d68 Update README url 5416d65 change shape colors 2710412 change index.html to inde.html 7b5464c change stats display color to green b7454c1 initializing git repo with all files
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git log --oneline --graph
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git log --oneline --graph --decorate
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git log --oneline --graph --decorate --all
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol git: 'lol' is not a git command. See 'git --help'.
Did you mean this? log
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lof git: 'lof' is not a git command. See 'git --help'.
Did you mean this? log
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git config --global alias.lol "log --online --graph --decorate --all"
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git config --global alias.lol "log --online --graph --decorate --all"
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lof git: 'lof' is not a git command. See 'git --help'.
Did you mean one of these? log lol
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git lol fatal: unrecognized argument: --online
@kumardss Ah, I see. So when you typed
Sudheer@Sudheer MINGW64 /e/Education (H)/GitHub/classrepo/github-games (gh-pages ) $ git config --global alias.lol "log --online --graph --decorate --all"
There was a spelling error. Try typing git config --global alias.lol "log --oneline --graph --decorate --all"
. Then, git lol
should work.
Thank you
👍 🎉
$ git s git: 's' is not a git command. See 'git --help'.
Did you mean one of these? show status svn
@kumardss Yep - Eric set up a challenge. To have it do status with s, you'd need to set a git alias. 😄
?
git config --global alias.s "status --oneline --graph --decorate --all"
is above command correct?
@kumardss Just like git lol
is an alias for git log --oneline --graph --decorate --all
, Eric has set git s
to be the same as git status
. This is not a required function for the class, he was just demonstrating.
git config --global alias.s "status --oneline --graph --decorate --all"
@kumardss That would set git s
to be git status --oneline --graph --decorate --all
, which isn't what you want. You want it to be git status
. So, you'd type git config --global alias.s "status"
thank you
👍
git lol fatal: unrecognized argument: --online