PS C:\git practice> cd one
PS C:\git practice\one> git status
fatal: not a git repository (or any of the parent directories): .git
PS C:\git practice\one> git init
Initialized empty Git repository in C:/git practice/one/.git/
PS C:\git practice\one> ls -la
Get-ChildItem : A parameter cannot be found that
matches parameter name 'la'.
At line:1 char:4
+ ls -la
+ ~~~
+ CategoryInfo : InvalidArgument: (
:) [Get-ChildItem], ParameterBindingExceptio
n
+ FullyQualifiedErrorId : NamedParameterNotF
ound,[Link]
temCommand
PS C:\git practice\one> cd .git/
PS C:\git practice\one\.git> cd .
PS C:\git practice\one\.git> cd ..
PS C:\git practice\one> git add [Link]
PS C:\git practice\one> git status
On branch master
No commits yet
(use "git rm --cached <file>..." to unstage)
(use "git rm --cached <file>..." to unstage)
new file: [Link]
Untracked files:
(use "git add <file>..." to include in what will be committed)
[Link]
PS C:\git practice\one> git config --global [Link] "code --wait"
PS C:\git practice\one> git add [Link]
PS C:\git practice\one> git status
On branch master
No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)
new file: [Link]
new file: [Link]
PS C:\git practice\one> git commit
hint: Waiting for your editor to close the file...
[master (root-commit) 83a6579] Add content to file1 and file2
2 files changed, 2 insertions(+)
create mode 100644 [Link]
create mode 100644 [Link]
PS C:\git practice\one> git log --oneline
83a6579 (HEAD -> master) Add content to file1 and file2
PS C:\git practice\one>