📰 IT NachrichtenAnthropic C.E.O. Dario Amodei Calls for A.I. Slowdown(12.09.2026 um 18:03 Uhr)
🔧 AI Nachrichten Etzioni on AI: What kids tell chatbots, but not you(04.09.2026 um 16:05 Uhr)
📰 IT NachrichtenAnthropic C.E.O. Dario Amodei Calls for A.I. Slowdown(12.09.2026 um 18:03 Uhr)
🔧 AI Nachrichten Etzioni on AI: What kids tell chatbots, but not you(04.09.2026 um 16:05 Uhr)

🔧 Programmierung 🕛 vor 2 Jahren 2 Min Lesezeit
0

GIT guide for juniors

↗ Quelle (dev.to)
🗣️ Stimme:

✨ Introductions



This guide is created for beginners to ensure the development and production branches are secure.



🚀 Let's start



1) Get the repository:



First, you need to choose which type of connection to the GitHub repository suits you best.




  • SSH: Use this if you have it configured locally and the public key added in the (ssh) settings section on the GitHub website.


  • HTTPS: The basic option using your username and password.





CODE
git clone <repository_url>






2) Get all branches:




CODE
git fetch --all






3) Move to the dev branch:




CODE
git checkout <dev>






4) Create and move to a new branch:




CODE
git checkout -b <branch_name>






⚡ The branch name must be the task name.



5) Add changes or Undo changes:



Add changes




CODE
git add <file_name>






or




CODE
git add *






Undo changes to certain files if they were not added to git:




CODE
git checkout <file_name>






Removes an object from git repository, but not file:




CODE
git rm -r --cached <file_name>






⚡ Make sure that files not allowed in the remote repository have not been added.




  • For example: .env, cache files and temporary files.



6) Apply changes:




CODE
git commit -m 'branch_name: list of changes'






7) Push the new branch alongside the one from which you created it:




CODE
git push --set-upstream origin <branch_name>






8) Pull changes from a specific remote repository:




CODE
git pull origin <branch_name>






P.S. Follow the steps outlined above, and your project repository will remain secure.

Vollständiger Original-Bericht
Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
Premier League Soccer: Stream Chelsea vs. Hull City Live From Anywhere
1 Quelle
Anthropic C.E.O. Dario Amodei Calls for A.I. Slowdown
1 Quelle
Inside the Discussions at AI Companies Over a Superintelligence Doomsday
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten GIT guide for juniors

Thematisch verwandte Begriffe: guide, juniors · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...