Sie sind auf Seite 1von 7

Kathyayani@Kathyayani MINGW64 ~

$ bash

Kathyayani@Kathyayani MINGW64 ~
$ ls
'3D Objects' Documents NetHood
OneDrive Templates
AppData Downloads NTUSER.DAT
Pictures Tracing
'Application Data' Favorites ntuser.dat.LOG1
PrintHood Videos
Contacts Links ntuser.dat.LOG2
Recent 'VirtualBox VMs'
Cookies 'Local Settings' NTUSER.DAT{ce808d16-
10d4-11e9-b50a-d31e3618252d}.TM.blf 'Saved
Games'
'Creative Cloud Files' MicrosoftEdgeBackups NTUSER.DAT{ce808d16-
10d4-11e9-b50a-d31e3618252d}.TMContainer00000000000000000001.regtrans-ms Searches
'Creative Cloud Files (archived) (1)' Music NTUSER.DAT{ce808d16-
10d4-11e9-b50a-d31e3618252d}.TMContainer00000000000000000002.regtrans-ms SendTo
Desktop 'My Documents' ntuser.ini
'Start Menu'

Kathyayani@Kathyayani MINGW64 ~
$ ls-ltr
bash: ls-ltr: command not found

Kathyayani@Kathyayani MINGW64 ~
$ ls -ltr
total 18105
drwxr-xr-x 1 Kathyayani 197609 0 Jan 12 2016 Tracing
drwxr-xr-x 1 Kathyayani 197609 0 Jan 20 2018 MicrosoftEdgeBackups
drwxr-xr-x 1 Kathyayani 197609 0 Oct 28 13:12 'Creative Cloud Files
(archived) (1)'
lrwxrwxrwx 1 Kathyayani 197609 25 Jan 5 16:06 'My Documents' ->
/c/Users/naveen/Documents
lrwxrwxrwx 1 Kathyayani 197609 67 Jan 5 16:06 NetHood ->
'/c/Users/naveen/AppData/Roaming/Microsoft/Windows/Network Shortcuts'
lrwxrwxrwx 1 Kathyayani 197609 31 Jan 5 16:06 'Application Data' ->
/c/Users/naveen/AppData/Roaming
lrwxrwxrwx 1 Kathyayani 197609 59 Jan 5 16:06 Templates ->
/c/Users/naveen/AppData/Roaming/Microsoft/Windows/Templates
lrwxrwxrwx 1 Kathyayani 197609 60 Jan 5 16:06 'Start Menu' ->
'/c/Users/naveen/AppData/Roaming/Microsoft/Windows/Start Menu'
lrwxrwxrwx 1 Kathyayani 197609 56 Jan 5 16:06 SendTo ->
/c/Users/naveen/AppData/Roaming/Microsoft/Windows/SendTo
lrwxrwxrwx 1 Kathyayani 197609 56 Jan 5 16:06 Recent ->
/c/Users/naveen/AppData/Roaming/Microsoft/Windows/Recent
lrwxrwxrwx 1 Kathyayani 197609 67 Jan 5 16:06 PrintHood ->
'/c/Users/naveen/AppData/Roaming/Microsoft/Windows/Printer Shortcuts'
lrwxrwxrwx 1 Kathyayani 197609 29 Jan 5 16:06 'Local Settings' ->
/c/Users/naveen/AppData/Local
lrwxrwxrwx 1 Kathyayani 197609 59 Jan 5 16:06 Cookies ->
/c/Users/naveen/AppData/Local/Microsoft/Windows/INetCookies
-rw-r--r-- 1 Kathyayani 197609 2981888 Jan 5 16:06 ntuser.dat.LOG2
-rw-r--r-- 1 Kathyayani 197609 2490368 Jan 5 16:06 ntuser.dat.LOG1
-rw-r--r-- 1 Kathyayani 197609 524288 Jan 5 16:06 NTUSER.DAT{ce808d16-10d4-
11e9-b50a-d31e3618252d}.TMContainer00000000000000000002.regtrans-ms
-rw-r--r-- 1 Kathyayani 197609 524288 Jan 5 16:06 NTUSER.DAT{ce808d16-10d4-
11e9-b50a-d31e3618252d}.TMContainer00000000000000000001.regtrans-ms
-rw-r--r-- 1 Kathyayani 197609 65536 Jan 5 16:06 NTUSER.DAT{ce808d16-10d4-
11e9-b50a-d31e3618252d}.TM.blf
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:08 AppData
-rw-r--r-- 1 Kathyayani 197609 20 Jan 5 16:31 ntuser.ini
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 '3D Objects'
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Pictures
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Contacts
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Videos
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Favorites
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Desktop
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Searches
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Music
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Documents
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 'Saved Games'
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 16:32 Links
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 21:26 Downloads
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 22:07 'VirtualBox VMs'
-rw-r--r-- 1 Kathyayani 197609 11796480 Jan 5 22:12 NTUSER.DAT
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 22:18 OneDrive
drwxr-xr-x 1 Kathyayani 197609 0 Jan 5 22:20 'Creative Cloud Files'

Kathyayani@Kathyayani MINGW64 ~
$ pwd
/c/Users/naveen

Kathyayani@Kathyayani MINGW64 ~
$ mkdir astrazenica
ls

Kathyayani@Kathyayani MINGW64 ~
$ ls
'3D Objects'
AppData
'Application Data'
astrazenica
Contacts
Cookies
'Creative Cloud Files'
'Creative Cloud Files (archived) (1)'
Desktop
Documents
Downloads
Favorites
Links
'Local Settings'
MicrosoftEdgeBackups
Music
'My Documents'
NetHood
NTUSER.DAT
ntuser.dat.LOG1
ntuser.dat.LOG2
NTUSER.DAT{ce808d16-10d4-11e9-b50a-d31e3618252d}.TM.blf
NTUSER.DAT{ce808d16-10d4-11e9-b50a-
d31e3618252d}.TMContainer00000000000000000001.regtrans-ms
NTUSER.DAT{ce808d16-10d4-11e9-b50a-
d31e3618252d}.TMContainer00000000000000000002.regtrans-ms
ntuser.ini
OneDrive
Pictures
PrintHood
Recent
'Saved Games'
Searches
SendTo
'Start Menu'
Templates
Tracing
Videos
'VirtualBox VMs'

Kathyayani@Kathyayani MINGW64 ~
$ cd astrazenica/

Kathyayani@Kathyayani MINGW64 ~/astrazenica


$ ls

Kathyayani@Kathyayani MINGW64 ~/astrazenica


$ cd ~/Desktop

Kathyayani@Kathyayani MINGW64 ~/Desktop


$ pwd
/c/Users/naveen/Desktop

Kathyayani@Kathyayani MINGW64 ~/Desktop


$ mkdir astrazenica
mkdir: cannot create directory �astrazenica�: No such file or directory

Kathyayani@Kathyayani MINGW64 ~/Desktop


$ mkdir astrazenica
mkdir: cannot create directory �astrazenica�: No such file or directory

Kathyayani@Kathyayani MINGW64 ~/Desktop


$ cd

Kathyayani@Kathyayani MINGW64 ~
$ pwd
/c/Users/naveen

Kathyayani@Kathyayani MINGW64 ~
$ cd astrazenica/

Kathyayani@Kathyayani MINGW64 ~/astrazenica


$ ls

Kathyayani@Kathyayani MINGW64 ~/astrazenica


$ pwd
/c/Users/naveen/astrazenica

Kathyayani@Kathyayani MINGW64 ~/astrazenica


$ git init
Initialized empty Git repository in C:/Users/naveen/astrazenica/.git/

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$
Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)
$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ vi StringUtils.java
wq!

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ l
bash: l: command not found

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls
StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls-ltr
bash: ls-ltr: command not found

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls -ltr
total 1
-rw-r--r-- 1 Kathyayani 197609 3 Jan 6 19:23 StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git status
On branch master

No commits yet

Untracked files:
(use "git add <file>..." to include in what will be committed)

StringUtils.java

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

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git add .
warning: LF will be replaced by CRLF in StringUtils.java.
The file will have its original line endings in your working directory

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git status
On branch master

No commits yet
Changes to be committed:
(use "git rm --cached <file>..." to unstage)

new file: StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git commit -m "First Commit" StringUtils.java
warning: LF will be replaced by CRLF in StringUtils.java.
The file will have its original line endings in your working directory

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"


git config --global user.name "Your Name"

to set your account's default identity.


Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'Kathyayani@Kathyayani.(none)')

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git config --global user.email "naveen.martha06@gmail.com"

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git config --global user.name "DevOpsNaveen"

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
rebase.autosquash=true
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
http.sslbackend=openssl
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
credential.helper=manager
user.email=naveen.martha06@gmail.com
user.name=DevOpsNaveen
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git commit -m "First Commit" StringUtils.java
warning: LF will be replaced by CRLF in StringUtils.java.
The file will have its original line endings in your working directory
[master (root-commit) 6298a84] First Commit
1 file changed, 1 insertion(+)
create mode 100644 StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ s
bash: s: command not found

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls
StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls -ltr
total 1
-rw-r--r-- 1 Kathyayani 197609 3 Jan 6 19:23 StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git remote -v

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git remote add astragenica
https://github.com/NaveenHealthCareDomain/Astrazenica.git

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git remote -v
astragenica https://github.com/NaveenHealthCareDomain/Astrazenica.git (fetch)
astragenica https://github.com/NaveenHealthCareDomain/Astrazenica.git (push)

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git push astragenica master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 230 bytes | 115.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/NaveenHealthCareDomain/Astrazenica.git
* [new branch] master -> master

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git status
On branch master
nothing to commit, working tree clean

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git commit -a -m :Updated the Javafile"
> ^C

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ls
StringUtils.java

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ vi StringUtils.java
Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)
$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git commit -a -m :Updated the Javafile"
> ^C

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ ^C

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git commit -a -m "Updated the Javafile"
warning: LF will be replaced by CRLF in StringUtils.java.
The file will have its original line endings in your working directory
[master a7a1bcc] Updated the Javafile
1 file changed, 1 insertion(+), 1 deletion(-)

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git log
commit a7a1bccdf6c2e64ca94c47b90a267f2f7bf940b8 (HEAD -> master)
Author: DevOpsNaveen <naveen.martha06@gmail.com>
Date: Sun Jan 6 20:03:36 2019 +0530

Updated the Javafile

commit 6298a840313b79bc87f1b3c701ddf5c41c0830a9 (astragenica/master)


Author: DevOpsNaveen <naveen.martha06@gmail.com>
Date: Sun Jan 6 19:40:11 2019 +0530

First Commit

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$ git branch
* master

Kathyayani@Kathyayani MINGW64 ~/astrazenica (master)


$

Das könnte Ihnen auch gefallen