Ndaboom / thegym-git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exercise 1 - Bundle 1

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git init
Reinitialized existing Git repository in D:/Documents Ext/The Gym/Preparatory training/thegym-git/.git/

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git branch -m master main

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git add .

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git commit -m "Index.html file created"
[main 85a046c] README.md file created
 1 file changed, 2 insertions(+)  

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git push origin main
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 2 threads
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 928 bytes | 232.00 KiB/s, done.
Total 7 (delta 1), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (1/1), done.
To https://github.com/Ndaboom/thegym-git.git
   3285b93..85a046c  main -> main

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git checkout -b dev      
Switched to a new branch 'dev'

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git checkout -b test
Switched to a new branch 'test'

 PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git checkout dev        
Switched to branch 'dev'
M       README.md

PS D:\Documents Ext\The Gym\Preparatory training\thegym-git> git branch -d test       
Deleted branch test (was 85a046c).

About


Languages

Language:HTML 100.0%