Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary Git and GitHub for Beginners - Crash Course

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
11-03-2023
Geschreven in
2022/2023

After merging a branch into one of our default branches like Master, we would clean up the branch that has just been merged by deleting it from GitHub and from our local machine, as we no longer need it. It is slightly different when it comes to branches like Dev, staging and master, as these are generally reserved for merging feature branches into. Therefore, no changes are made directly onto Dev or master.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

Git and GitHub for Beginners - Crash Course
freeCodeCamp.org
In this video we are going to learn about the importance of Git and
GitHub, as well as how to use them. We will cover basic concepts such
as repositories and branching, in addition to more intermediate topics
like merging, forking, and committing. By learning Git, you can gain
more proficiency with the command line; for example, the 'CD' command
stands for 'Change Directory' and is equivalent to double-clicking a
folder in the desktop. Git tracks changes made to your code over time,
which you can then upload to a remote repository like GitHub or
Bitbucket. Once you have made changes locally on your computer, you
can tell Git to track them through the 'Add' command, allowing you to
commit your changes and store them online.


Markdown is a great way to format text in files. For example, I'm
creating a basic markdown file called a readme, which is commonly
found in many projects. If you are using Mac or Linux, you should
already have Git installed. If it is not installed, I recommend
checking out the tutorial by Atlassian. Additionally, you need to get
a code editor like Visual Studio Code so you can access the terminal
and pull the repo from GitHub. After that, you can work with the code
locally and make customizations to your preferences. Lastly, there is
a hidden folder which you may find helpful.


Git is a version control system that allows you to store files that
record your code changes over time. To save new files, you must tell
Git to track them using the 'git add' command. After the changes are
'staged', we can make them live on GitHub by using the 'git push'
command. In order to do this, we must prove to GitHub that we own our
account by using a private key. Every time we want to connect to
GitHub or use our account, we must start the SSH agent and modify the
SSH config file if our version is 10.12.2 or later.


Creating a new repository on GitHub is relatively straightforward, and
can be done by running an SSH add command from your terminal. After
that, you'll be able to refresh the page and see your code changes
live on GitHub. You may find that Git doesn't recognize a remote
repository, in which case you should create one. Once the connection
is established, you can use the GitHub web interface to write code and
push it to the remote repository. If you have any questions or issues,
feel free to leave them in the comments below.


When working in a repository, each branch has its own changes and
commits that are not known to other branches. This is extremely useful
as it allows developers to create new features without disrupting
existing code. For example, when working in the terminal inside the
demo repository, you can use git checkout to switch between branches
and git checkout -B to create a new branch. VS Code also offers
autocompletion when typing instructions, which can be very useful as
it reduces the time spent typing out long commands when working with

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
11 maart 2023
Aantal pagina's
2
Geschreven in
2022/2023
Type
SAMENVATTING

Onderwerpen

€7,53
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
abdbabu

Maak kennis met de verkoper

Seller avatar
abdbabu nazareth matric higher sec school
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
3 jaar
Aantal volgers
0
Documenten
1
Laatst verkocht
-

0,0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen