Tuesday, 27 August 2019

Starting with a Fresh Project with GIT by Raj Gupta



Administrator@EC2AMAZ-H8K4U2K MINGW64 ~
$ pwd
/c/Users/Administrator

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~
$ ls
'3D Objects'/         Desktop/    'Local Settings'@   ntuser.dat.LOG1                                                                                ntuser.ini  'Saved Games'/   Videos/
 AppData/             Documents/   Music/             ntuser.dat.LOG2                                                                                Pictures/    Searches/
'Application Data'@   Downloads/  'My Documents'@     NTUSER.DAT{a057f24c-e827-11e8-81c0-0a917f905606}.TM.blf                                        PrintHood@   SendTo@
 Contacts/            Favorites/   NetHood@           NTUSER.DAT{a057f24c-e827-11e8-81c0-0a917f905606}.TMContainer00000000000000000001.regtrans-ms   projects/   'Start Menu'@
 Cookies@             Links/       NTUSER.DAT         NTUSER.DAT{a057f24c-e827-11e8-81c0-0a917f905606}.TMContainer00000000000000000002.regtrans-ms   Recent@      Templates@

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~
$ cd projects/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ pwd
/c/Users/Administrator/projects

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ git init fresh-project
Initialized empty Git repository in C:/Users/Administrator/projects/fresh-project/.git/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ ls
fresh-project/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ cd fresh-project/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ ls

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ ls -al
total 4
drwxr-xr-x 1 Administrator 197121 0 Aug 27 07:46 ./
drwxr-xr-x 1 Administrator 197121 0 Aug 27 07:46 ../
drwxr-xr-x 1 Administrator 197121 0 Aug 27 07:46 .git/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ cd .git/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project/.git (GIT_DIR!)
$ ls
config  description  HEAD  hooks/  info/  objects/  refs/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project/.git (GIT_DIR!)
$ cd ..

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ pwd
/c/Users/Administrator/projects/fresh-project

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git status
On branch master

No commits yet

nothing to commit (create/copy files and use "git add" to track)

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ vi hipster.txt

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git status
On branch master

No commits yet

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

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

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git add hipster.txt

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git status
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)
        new file:   hipster.txt

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git commit -m hipster.txt
[master (root-commit) 752c16b] hipster.txt
 1 file changed, 1 insertion(+)
 create mode 100644 hipster.txt

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ git status
On branch master
nothing to commit, working tree clean

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects/fresh-project (master)
$ cd ..

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ pwd
/c/Users/Administrator/projects

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ ls
fresh-project/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ rm -rf fresh-project/

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$ ls

Administrator@EC2AMAZ-H8K4U2K MINGW64 ~/projects
$

1 comment:

  1. Hello everyone , here’s your opportunity for you to achieve your dreams of being a multi million dollar rich through trading , I once loss all I got through trading but was fortunate to come across a woman with great virtue and selfless heart (Mary ) i was introduce to her masterclass strategy while searching online which has revived me of all my losses and made me gain more and more . With her unique strategy you are entitled to daily signals and instant withdraw ,be rest assured of getting a refund of all your loss investment with any platform that has denied you in one way or the other in getting your money . Mrs Mary masterclass strategy is simply the best for beginners and those that are finding it difficult to succeed through trading she’ll help you with just a simple step . Email her ( maryshea03 @ Gmail .com) WhatsApp +1 562 384 7738 . Remember this is absolutely free!!!

    ReplyDelete