Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 663 Bytes

README.md

File metadata and controls

59 lines (41 loc) · 663 Bytes

Git workflow

Create new directory and cd there:

mkdir new-project
cd new-project

Init Git:

git init

Add README.md and commit it to the main branch:

touch README.md
git add README.md
git commit -m "init"

Create new branch:

git checkout -b development

Stage new files or changes:

git add .

Commit staged changes:

git commit -m "Update instructions"

Merge changes:

git switch main
git merge development

Add remote origin:

git remote add origin https://github.com/damevanderjahr/new-project.git

Push changes to remote:

git push origin