An eclectic selection of technology with some cookery
Leaning basic git commands:
git clone https://gituser@kryton.me.uk/gitrepositories/myMadCodeBase.git
git status
git restore wibble.md
Add files in red (unstaged) ready to comit
git add "wibble.md"
or add all files
git add .
or use the interactive tool
git add -i
or unstage a file
git reset wibble.md
or remove a file from git & the drive
git rm -f file_name
or revome a file just from git i.e. binary in error
git rm --cached file_name
git commit -m "Added file wibble.md to reord the word wibble"
push the files to the main branch
git push origin main
or push to a branch
git push origin branch
git branch
git branch -r
git fetch --all
git switch -c "origin/branch" --track "origin/branch"
git status