- Dieses Mini-Howto soll erklären was man als Entwickler auf der Kommandozeile seines Systems tun muss um seinen Quelltext auf github zu aktualisieren
Einrichten der Entwicklungsumgebung
#
# Sorry alle Schritte nur so aus dem Kopf - beim nächsten Mal kontrolliere ich diese Einträge / versprochen.
#
git clone <dein Repo>
on github: enable 2 Factor Autentification
local: generate a key
ssh-keygen -t ed25519 -C "andreas.filsinger@orgamon.org"
on github: store the .pub-Part Key in github "SSH Keys save"
local: login in github
ssh -T git@github.com
say "yes"
change the origin of the git
git remote set-url origin git@github.com:Andreas-Filsinger/Polyzalos.git
Daily Driver
#
# [optional] Check whats you updatet today
#
git status
#
# [optional] Add new Files
#
git add {Path|File}
#
# Send your updatet Files
#
git add -u
git commit -m "Describe todays Work"
git push
Tag it
#
# Sample for set a tag "9.004"
#
git tag -a 9.004 -m "Rev. 9.004 - 04.03.2026"
git push origin 9.004
Remove private File
- private in a sense that is has not a secret but is useless for cloners
- Make a copy outside the git
- Remove the file from git
- Add the File to gitignore
- Put back the copy
cp Polyzalos.lps ..
git rm Polyzalos.lps
git commit -m "remove Polyzalos.lps"
git push
touch .gitignore
nano .gitignore
File .gitignore:
#
# IDE positions / watches / breakpoints
#
Polyzalos.lps
#
# App
#
Polyzalos
git add .gitignore
git commit -m "initial .gitignore"
git push