Tagged: git

Oh-my-Git

Found a nice interactive game for learning git: https://blinry.itch.io/oh-my-git Sometimes for me it was not clear what’s the mission, but still quiet nice for beginning to get to known git. Useful commands for commits: go to prevoius commit: git checkout HEAD^ go back two commits: git checkout HEAD~2 Useful commands for branches: create a branch called name at current location:...

Git – Good to know

In this post i’d like to note some handy tricks when using git. Good to know: git commit –amend = replace (add to) last commit git remote add <alias> <URL> = connect remote repository git push origin/<branch> = upload changes to remote repository git restore – use this command to undo local changes and replace the file with the one...