Skip to content

informatyzacja/szkolenie-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Szkolenie dla Komisji ds. Informatyzacji

git add Workfile 
git commit -m "Init Workfile"
git commit -a -m "Add Element 2."
git commit -a -m "Add Element 3."
git reset --soft HEAD~1
git commit -a -m "Add Element 3."
git commit -a -m "Maly refactor stazysty"
git reset --hard HEAD~1
git push
git commit -a -m "Add Element 4."
git push
git commit -a -m "Fix Element 4."
git rebase -i HEAD~2
git push --force
git checkout -b element-1-1
git commit -a -m "Update Element 1 to 1.1"
git push
git checkout main
git commit -a -m "Add Element 5."
git push
git revert HEAD
git push --force
git log
git push --force origin element-1-1
git checkout element-1-1
git reset --hard origin/element1-1
git cherry-pick <hash commitu ze zmianami>
git push
git checkout main
git commit -a -m "Update Element 2 to 2.1"
git push
git checkout element-1-1
git rebase main
git push --force
git checkout main
git pull
git checkout -b element-3-2-and-5
git commit -a -m "Update Element 3 to 3.1 and add Element 5"
git push

git checkout main
git commit -a -m "Add Element 5.1"
git push
git checkout element-3-2-and-5
git rebase main
<tu powinien wystąpić merge conflict>
git push --force
  1. Dodać coś do node_modules, wcześniej usuwając .gitignore
  2. Tokeny i klucze w repozytorium
  3. HTTP a SSH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published