This repository serves as a guide for installing and using Git on Windows.
Do not follow these 10 steps carelessly if Git is not yet installed on your Windows computer.
-
Visit the repository on GitHub that you want to fork using your web browser.
-
Click "Fork" to create a copy of that repository under your own GitHub account.
-
Open your terminal — either PowerShell (as Administrator, if Git is installed) or your native Bash terminal (if using Linux).
-
Run this command
git clone https://github.com/profile_mo/repo_name_na_forked
- Move (cd) to the directory where you downloaded the clone repo then run this command
git checkout -b "branch_name_related_to_repository_or_project"
-
Navigate to the cloned directory in your file explorer. Keep the terminal open for later use when you reach step 8.
-
Locate and edit the file you want to modify — whether it is an .md file, an image, or any other file type.
-
Stage your changes and proceed on running these commands
If the file is inside a folder
git add foldername_muna/mismong_file.md
or if its your own repository and you are certain of all your edits, you may use
git add .
(But be cautious — this stages everything, including accidental changes especially when you get sleepy sometimes)
- Commit your changes with a clear and concise message:
git commit -m "comment or message for your commit"
- Push your branch to your remote repository:
git push origin "pangalan_ng_branch_na_trip_mo_pero_syempre_dapat_conventional_at_related_name_sa_rep_or_project"
Once you have pushed your branch, go back to GitHub in your browser and create a Pull Request from your branch to the original repo.
Add a short description of what you changed and why, then submit for review by the repository maintainer.
Huwag mo gagawin ang mga 10 steps na ito na parang geng-geng kung hindi pa installed ang Git sa windows computer mo.
-
Punta ka sa GitHub via web browser tapos puntahan mo iyong profile ng gusto mong i-fork na repo.
-
Fork it para magkaroon ka na rin sa repo mo.
-
Labas ka web browser open PowerShell as administrator (dapat installed na ang git) or bash terminal (native na sa Linux distros so no need to install git).
-
Paandarin mo command na ito
git clone https://github.com/profile_mo/repo_name_na_forked
- Tapos pumunta ka doon sa directory kung saan mo ni-download iyang clone repo (cd) then paandarin mo command na ito
git checkout -b "pangalan_ng_branch_na_trip_mo_pero_syempre_dapat_conventional_at_related_name_sa_rep_or_project"
-
Kung saang directory ka nag-execute ng command sa step 4, puntahan mo na ngayon, iwan mo lang nakabukas muna itong terminal or PowerShell mo para alt tab na lang mamaya pag umabot ka sa step 8.
-
Hanapin iyong gusto mo palitan na file.
-
Edit mo na, ikaw na bahala kung canva image man yan, i-adobe ps mo bahala ka, .md or anything kahit pa paint or ms word.
-
Balik sa terminal or PowerShell tapos pili ka isa diyan kung ano trip mo paandarin, pero mas maganda iyong una
git add foldername_muna/mismong_file.md
o kaya naman
git add .
(Pero be cautious sa git add . ha? Kasi dito madalas ulyanin ang mga tolonges, may napapasama na accidental changes sa file na hindi sinasadya)
- Paandarin mo command na ito
git commit -m "comment or message mo sa iyong comit"
at saka pati na rin ang command na ito
git push origin "pangalan_ng_branch_na_trip_mo_pero_syempre_dapat_conventional_at_related_name_sa_rep_or_project"
Pagkatapos, alt tab balik sa browser GitHub then create Pull Request sa profile ng original repo creator.
aeronje
└──git_setup/
├── README.md
├── aeronje_style_git_setup.ps1
├── git_setup_delete.sh
├── git_notes_english.md
├── git_notes_tagalog.md
├── index.html
└── assets/
└── images/
Linux (English well-mannered version)
- Download the git_setup_delete.sh
- Open terminal
- Change directory to the path/folder where you save the shell script from step 1.
- Run the command
chmod +x git_setup_delete.sh
- Run the command
./git_setup_delete.sh
Linux (Taglish tolonges gedli etneb version)
- Download mo tong git_setup_delete.sh
- Open mo terminal bes kahit hindi naka sudo or root user keri na iyon.
- Mag change directory ka, diba kunwari ni-saved mo sa Downloads? Kunwari lang ha. Hindi ako sure kung saan mo ni-saved kasi ikaw nakaka-alam nun. Kung sakaling Downloads folder man then nasa baba ang command
cd Downloads
- Paandarin mo itong command na ito kapag nandoon ka na sa folder kung saan mo ni-save iyong ginawa mo sa step 1
chmod +x git_setup_delete.sh
- Paandarin mo itong command na ito at magbasa ka bes ng mga output sa terminal, basahin mo mabuti
./git_setup_delete.sh
Screenshare video is only filmed for Windows because Linux command is mostly straightforward.
Windows
Watch this video because I am tired of typing.
Currently in production, but it will be available on the digital creator page once filming is complete.