Coggle requires JavaScript to display documents.
git rm . --cached git add . git commit -m ".gitignore is now working" git push
echo "# test" >> README.md git init git add README.md git commit -m "first commit" git branch -M main git remote add origin https://github.com/roblebob/test.git git push -u origin main
git clone https://github.com/roblebob/test --recursive cd test/ git init git remote add origin https://github.com/roblebob/test.git git push -u origin master
git submodule add https://github.com/WeAreROLI/JUCE JUCE --recursive
git submodule deinit libs/JUCE git rm libs/JUCE
git submodule update --remote --merge
git submodule update --init --recursive
git status
git log git log --oneline git log -p -s git log --stat git log --patch git log --decorate git log
git log --oneline --decorate --graph --all
git diff
git diff --staged git diff --cached
git config --global core.editor <...>
git reset HEAD <file>
git tag -a <nameOfTag=v1.0> <SHA>
git branch <name> <SHA>
git checkout <name>
git checkout -b <name>
git commit --amend
git revert <SHA>
git reset <reference-to-commit>
git reset --soft HEAD^
git reset --mixed HEAD^
git reset --hard HEAD^
git remote set-url origin <URL>
git remote remove origin git remote add origin <URL>
.github/workflows/<job>.yaml
${{ ... }}
echo ${{ env.VARIABLE }}
$VARNAME
echo $VARIABLE
$env:VARIABLE_NAME
name: environment_variable_tutorial on: [push] env: # This custom environment variable is available to all the jobs and steps TOPIC: Envs and secrets jobs: job1: env: # This custom environment variable is available for all the steps section: Dev tools runs-on: ubuntu-latest steps: - name: step 1 env: # This custom environment variable is available to only this specific step platform: the platform # Referencing the environment variables run: echo "Welcome to the ${{ env.TOPIC }} topic from $section section at $platform"
[a-z]
[A-Z]
[0-9]
_
steps: - name: Encrypted secret for repository with: # We can configure the secret to be set as an input secret: ${{ secrets.SECRET_VALUE }} env: # Or we can configure the secret as an environment variable secret: ${{ secrets.SECRET_VALUE }}