I was using Git to backup “panelDrive.” This is located at c:\users\dan\git. Issuing “git remote -v” will show that these are connected to remote repository "ssh://git@stopstogo.com/home/git/repo.git".
3/5/2019
git config --global user.email “youremail@somewhere.com”git config --global user.name “yourusername”git initgit statusgit addgit commit -m “some message”git remote add origin ssh://git@stopstogo.com/home/git/repo.gitgit remote -vgit push -u origin mastergit loggit –helpgit config –bool core.bare true Make a bare remote repository so source can be re-pushed to it.git branch “branch name” - Create new branch in local repositorygit checkout “branch name” - Local content becomes this branchgit merge “branch name”git push -u origin “master” - push merged content to remotegit branch -d “branch name”git push origin –delete “branch name”Tagging in Git refers to creating specific points in history for your repository/data.
git checkout “branch name”git tag “Version 1.0” - Lightweight taggit tag -a “v1.1” -m “tag for release version 1.1” - Stored as complete objectgit show v1.0git tag -l “v1.*”git push origin v1.0git push –tags - push all tagsgit tag –delete v1.0git push origin -d v1.0 - delete this tag from remotegit checkout -b “branch name” “tag name”git tag “tag name” “reference of commit” - the checksum or just a part of it.git push –tags - pushes all tags to remote repositoryhttps://www.youtube.com/watch?v=LPT7v69guVY