Health3 App

asawin@Asawins-MacBook-Air hello-world % cd ../health3-app

asawin@Asawins-MacBook-Air health3-app % echo “# health3-app” >> README.md

asawin@Asawins-MacBook-Air health3-app % git init

hint: Using ‘master’ as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config –global init.defaultBranch
hint:
hint: Names commonly chosen instead of ‘master’ are ‘main’, ‘trunk’ and
hint: ‘development’. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialized empty Git repository in /Users/asawin/Dev/DevCode/health3-app/.git/

asawin@Asawins-MacBook-Air health3-app % git add README.md

asawin@Asawins-MacBook-Air health3-app % git commit -m “first commit”

[master (root-commit) d8fca2e] first commit
1 file changed, 1 insertion(+)
create mode 100644 README.md

asawin@Asawins-MacBook-Air health3-app % git branch -M main

asawin@Asawins-MacBook-Air health3-app % git remote add origin https://github.com/Asawin56/health3-app.git

asawin@Asawins-MacBook-Air health3-app % git push -u origin main

Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 231 bytes | 231.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/Asawin56/health3-app.git
* [new branch] main -> main
Branch ‘main’ set up to track remote branch ‘main’ from ‘origin’.

Leave a Comment