simple text documents for testing git commands
hello, local commit here
git log -2
git show-ref main
git push git show-ref main
git push -f
you fetch and merge, then you push git fetch git merge git push
you pull, then you push pull = fetch and merge git pull git push
change in dev branch
https://stackoverflow.com/questions/2765421/how-do-i-push-a-new-local-branch-to-a-remote-git-repository-and-track-it-too Edit files, add and commit. Then push with the -u (short for --set-upstream) option:
git branch dev git switch dev make changes git push -u origin dev
you can configure two remotes when you want to use a project as your base and then
have an upstream (original author) and origin (my fork)