Commit c906fe08 authored by Michal Hečko's avatar Michal Hečko
Browse files

Merge branch 'hw_3' into 'main'

[533109] Homework 3 solution

See merge request red-hat/mastering-git!4
parents 229c3439 c46cba6c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
I finally truly understand the difference between origin (fork) and upstream, 
and the workflow behind it. So thanks a lot!
+27 −0
Original line number Diff line number Diff line
 2011  git branch
 2012  git status
 2013  git pull
 2014  git status
 2015  git remote add upstream https://gitlab.fi.muni.cz/red-hat/mastering-git.git
 2016  git remote -v
 2017  git pull upstream
 2018  git status
 2019  git pull --all
 2020  git branch
 2021  git branch hw_3
 2022  git status
 2023  git switch hw_3
 2024  ls
 2025  cd class3_homework/
 2026  ls
 2027  git status
 2028  nano 533109.txt
 2029  git status
 2030  git log
 2031  git add .
 2032  git status
 2033  git commit -m "add 533109.txt (hw_3)"
 2034  git status
 2035  git log
 2036  git push origin hw_3
 2037  history