Compare commits
	
		
			34 Commits
		
	
	
		
			406c3acc43
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						ee72293dac
	
				 | 
					
					
						|||
| 
						
						
							
						
						7df8dfaaec
	
				 | 
					
					
						|||
| 
						 | 
					b5152d5085 | ||
| f27986cf0e | |||
| 381bb5c2c7 | |||
| 7671e559d0 | |||
| c30a1a7534 | |||
| ace4b7dfb0 | |||
| 86c3a06ceb | |||
| 333b34fbbb | |||
| 98aa77ca48 | |||
| 5e410c1bc6 | |||
| 84ccbd82bb | |||
| e124698c9c | |||
| 00fbd22b8a | |||
| 59459e8b7a | |||
| f54177613c | |||
| 204408cc99 | |||
| d3c24807b5 | |||
| 6650203154 | |||
| a4645990e8 | |||
| c646b8585e | |||
| 
						 | 
					c9e7192030 | ||
| 
						 | 
					e5420873cb | ||
| 
						 | 
					3bdc7536e6 | ||
| 
						 | 
					fd7e0c385d | ||
| 
						 | 
					141b3d315d | ||
| 
						 | 
					f047bcb9d3 | ||
| 
						 | 
					529d5d5b8a | ||
| 
						 | 
					b0b49cc18b | ||
| 
						 | 
					3c379e4b41 | ||
| 
						 | 
					b7a2a4a6ca | ||
| 
						 | 
					62d371bb31 | ||
| 
						 | 
					f7408e3c8d | 
							
								
								
									
										4
									
								
								.github/FUNDING.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/FUNDING.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +0,0 @@
 | 
			
		||||
# These are supported funding model platforms
 | 
			
		||||
 | 
			
		||||
github: hwpplayer1 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										21
									
								
								ChangeLog
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								ChangeLog
									
									
									
									
									
								
							@@ -1,3 +1,24 @@
 | 
			
		||||
2025-10-10  Mert Gör  <hwpplayer1@masscollabs>
 | 
			
		||||
 | 
			
		||||
	* README.md: Developer Community file deleted
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
2025-08-25  Mert Gör  <hwpplayer1@masscollabs>
 | 
			
		||||
 | 
			
		||||
	* README.md: Turkish and English docs updated for git sign commit bash script
 | 
			
		||||
 | 
			
		||||
2025-08-04  Mert Gör  <hwpplayer1@masscollabs>
 | 
			
		||||
 | 
			
		||||
	* README.md: The latest codebase will be released 
 | 
			
		||||
 | 
			
		||||
2025-04-05  Mert Gör  <mertgor@masscollabs.xyz>
 | 
			
		||||
 | 
			
		||||
	* README.md: https://source.masscollabs.xyz/mertgor/hacker-how-to eklendi
 | 
			
		||||
 | 
			
		||||
2025-02-06  Mert Gör  <mertgor@masscollabs.xyz>
 | 
			
		||||
 | 
			
		||||
	* README.md: deleted multiple forge articles, removed unsupprted forges
 | 
			
		||||
 | 
			
		||||
2024-10-13  Kuddusi Ömer Sıddıkoğlu  <hwpplayer1@debian>
 | 
			
		||||
 | 
			
		||||
	* README.md: Public Masscollabs Server address deleted
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										34
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								README.md
									
									
									
									
									
								
							@@ -46,6 +46,19 @@ Please read this :
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
 | 
			
		||||
 | 
			
		||||
To check :
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
chmod +x git-sign-check.sh
 | 
			
		||||
./git-sign-check.sh
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Configuring User Email and User Name for commits
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
 | 
			
		||||
 | 
			
		||||
# Conclusion
 | 
			
		||||
 | 
			
		||||
* We have generated SSH Key and added our public SSH Key to our GitHub account.
 | 
			
		||||
@@ -56,16 +69,21 @@ Please read this :
 | 
			
		||||
 | 
			
		||||
# Where we store this documentation
 | 
			
		||||
 | 
			
		||||
* https://codeberg.org/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.disroot.org/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.vern.cc/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.sr.ht/~mertgor/hacker-how-to
 | 
			
		||||
* https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to
 | 
			
		||||
* https://github.com/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://source.masscollabs.xyz/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://github.com/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.sr.ht/~mertgor/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.disroot.org/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://codeberg.org/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.emin.software/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
# License
 | 
			
		||||
 | 
			
		||||
[CC BY-SA 4.0 or any later](by-sa.markdown)
 | 
			
		||||
[CC BY-SA 4.0 or later](by-sa.markdown)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										54
									
								
								git-sign-check.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										54
									
								
								git-sign-check.sh
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,54 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Federatif Signed Commit Denetleyici (Etkileşimli versiyon)
 | 
			
		||||
# Gereksinimler: gpg, git
 | 
			
		||||
 | 
			
		||||
echo "🔐 Lütfen GPG key ID'nizi girin (örnek: D200B456637BC4F3):"
 | 
			
		||||
read -r KEYID
 | 
			
		||||
 | 
			
		||||
if [ -z "$KEYID" ]; then
 | 
			
		||||
  echo "❌ GPG key ID girilmedi. Çıkılıyor."
 | 
			
		||||
  exit 1
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "🔍 GPG Key ID: $KEYID"
 | 
			
		||||
 | 
			
		||||
# GPG key'den email'leri çek
 | 
			
		||||
echo "📧 GPG Key'e bağlı epostalar:"
 | 
			
		||||
gpg --list-keys "$KEYID" | grep -E 'uid' | sed -E 's/.*<([^>]+)>.*/\1/' | tee /tmp/gpg_emails.txt
 | 
			
		||||
 | 
			
		||||
# Git config'deki email ve signing key
 | 
			
		||||
GIT_EMAIL=$(git config user.email)
 | 
			
		||||
GIT_SIGNKEY=$(git config user.signingkey)
 | 
			
		||||
GIT_REMOTE=$(git remote get-url origin)
 | 
			
		||||
 | 
			
		||||
echo "📝 Git config email: $GIT_EMAIL"
 | 
			
		||||
echo "🔐 Git signing key: $GIT_SIGNKEY"
 | 
			
		||||
echo "🌐 Git remote URL: $GIT_REMOTE"
 | 
			
		||||
 | 
			
		||||
# SSH bağlantısı mı?
 | 
			
		||||
if [[ "$GIT_REMOTE" == git@github.com:* ]]; then
 | 
			
		||||
  echo "✅ SSH bağlantısı kullanılıyor."
 | 
			
		||||
else
 | 
			
		||||
  echo "⚠️ Uyarı: GitHub bağlantısı SSH değil. HTTPS kullanılıyorsa GPG doğrulama etkilenmez ama SSH tercih edilir."
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Son commit signed mı?
 | 
			
		||||
echo "🧾 Son commit imza durumu:"
 | 
			
		||||
git log --show-signature -1
 | 
			
		||||
 | 
			
		||||
# Eşleşme kontrolü
 | 
			
		||||
echo "🔗 GPG ↔ Git eşleşme kontrolü:"
 | 
			
		||||
MATCH=false
 | 
			
		||||
while read -r gpg_email; do
 | 
			
		||||
  if [[ "$gpg_email" == "$GIT_EMAIL" ]]; then
 | 
			
		||||
    echo "✅ GPG email Git config ile eşleşiyor: $gpg_email"
 | 
			
		||||
    MATCH=true
 | 
			
		||||
  fi
 | 
			
		||||
done < /tmp/gpg_emails.txt
 | 
			
		||||
 | 
			
		||||
if [ "$MATCH" = false ]; then
 | 
			
		||||
  echo "❌ GPG email Git config ile eşleşmiyor. Commit'ler GitHub'da 'Unverified' olabilir."
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "🎯 Denetim tamamlandı."
 | 
			
		||||
							
								
								
									
										89
									
								
								hacker.en.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								hacker.en.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,89 @@
 | 
			
		||||
# A Guide for Hackers who want to become a committer
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
This repository includes the path to become a committer with any kind of git oriented workflow to push commits to any kind of forge.
 | 
			
		||||
 | 
			
		||||
# Setting SSH Keys
 | 
			
		||||
 | 
			
		||||
Please read : 
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
 | 
			
		||||
* https://docs.github.com/en/authentication/connecting-to-github-with-ssh/adding-a-new-ssh-key-to-your-github-account
 | 
			
		||||
 | 
			
		||||
# Configuring GPG Key
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/generating-a-new-gpg-key
 | 
			
		||||
 | 
			
		||||
* After generating GPG Key please run :
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
gpg --list-secret-keys --keyid-format=long
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
* Then run this command but replace ```3AA5C34371567BD2``` with your GPG Key ID:
 | 
			
		||||
```
 | 
			
		||||
gpg --output secret.key --export-secret-keys 3AA5C34371567BD2
 | 
			
		||||
```
 | 
			
		||||
* Then run this command for Revocation Certificate but replace ```3AA5C34371567BD2``` with your GPG Key ID:
 | 
			
		||||
```
 | 
			
		||||
gpg --output revoke.asc --gen-revoke 3AA5C34371567BD2
 | 
			
		||||
```
 | 
			
		||||
*  Then export your public key with this command but replace ```3AA5C34371567BD2``` with your GPG Key ID :
 | 
			
		||||
```
 | 
			
		||||
gpg --armor --export 3AA5C34371567BD2 > 3AA5C34371567BD2.asc
 | 
			
		||||
```
 | 
			
		||||
* publish to [PGP Global Directory](https://keyserver.pgp.com/vkd/GetWelcomeScreen.event) , import key , trust and sign with Thunderbird Email Client or any other client
 | 
			
		||||
 | 
			
		||||
* After this backup your secret.key and revoke.asc to an external disk and keep it safe.
 | 
			
		||||
 | 
			
		||||
* Then open your public key with a text editor and copy all text and add your Public Key to GitHub like told here : https://docs.github.com/en/authentication/managing-commit-signature-verification/adding-a-gpg-key-to-your-github-account
 | 
			
		||||
 | 
			
		||||
# For signing Commits with your GPG Key
 | 
			
		||||
 | 
			
		||||
Please read this : 
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
 | 
			
		||||
 | 
			
		||||
To check :
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
chmod +x git-sign-check.sh
 | 
			
		||||
./git-sign-check.sh
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Configuring User Email and User Name for commits
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
 | 
			
		||||
 | 
			
		||||
# Conclusion
 | 
			
		||||
 | 
			
		||||
* We have generated SSH Key and added our public SSH Key to our GitHub account.
 | 
			
		||||
* We have generated GPG Key, exported secret key, exported revocation certificate, published our public key to a server in this example PGP Global Directory and then we moved our secret.key and revoke.asc to an external disk. Then we added our GPG key to GitHub account.
 | 
			
		||||
* For signing commit we configured our git account.
 | 
			
		||||
 | 
			
		||||
**happy hacking!...**
 | 
			
		||||
 | 
			
		||||
# Where we store this documentation
 | 
			
		||||
 | 
			
		||||
* https://source.masscollabs.xyz/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://github.com/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.sr.ht/~mertgor/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.disroot.org/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://codeberg.org/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.emin.software/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
# License
 | 
			
		||||
 | 
			
		||||
[CC BY-SA 4.0 or later](by-sa.markdown)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										31
									
								
								hacker.tr.md
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								hacker.tr.md
									
									
									
									
									
								
							@@ -55,6 +55,19 @@ Lütfen aşağıdaki bağlantıları okuyunuz :
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
 | 
			
		||||
 | 
			
		||||
Kontrol için :
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
chmod +x git-sign-check.sh
 | 
			
		||||
./git-sign-check.sh
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# Kullanıcı E-postasını ve Kullanıcı Adını commit'ler için yapılandırma
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/get-started/getting-started-with-git/setting-your-username-in-git
 | 
			
		||||
 | 
			
		||||
* https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address
 | 
			
		||||
 | 
			
		||||
# Sonuç
 | 
			
		||||
 | 
			
		||||
* SSH Key'i oluşturduk ve public SSH Key'imizi GitHub hesabımıza ekledik.
 | 
			
		||||
@@ -67,17 +80,21 @@ mutlu hacklemeler(başarılar ve başarıya ulaşmanız dileğiyle)
 | 
			
		||||
 | 
			
		||||
# Bu belgeleri nerede saklıyoruz ?
 | 
			
		||||
 | 
			
		||||
* https://source.masscollabs.xyz/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://github.com/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.sr.ht/~mertgor/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.disroot.org/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://codeberg.org/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.disroot.org/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.vern.cc/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.sr.ht/~mertgor/hacker-how-to
 | 
			
		||||
* https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to
 | 
			
		||||
* https://github.com/hwpplayer1/hacker-how-to
 | 
			
		||||
* https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
* https://git.emin.software/hwpplayer1/hacker-how-to
 | 
			
		||||
 | 
			
		||||
# Lisans
 | 
			
		||||
 | 
			
		||||
[CC BY-SA 4.0 or any later](https://github.com/hwpplayer1/hacker-how-to/blob/master/by-sa.markdown)
 | 
			
		||||
[CC BY-SA 4.0 or later](https://github.com/hwpplayer1/hacker-how-to/blob/master/by-sa.markdown)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								img/Copyleft.svg.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/Copyleft.svg.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 13 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								img/Git-Logo-2Color.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/Git-Logo-2Color.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.8 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								img/Octicons-mark-github.svg.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/Octicons-mark-github.svg.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.0 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								img/git_GitHub.jpeg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/git_GitHub.jpeg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 247 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								img/open-source-seeklogo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/open-source-seeklogo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 69 KiB  | 
@@ -1,65 +0,0 @@
 | 
			
		||||
# Birden fazla forge(kod barındırma ortamına) içerik göndermek
 | 
			
		||||
 | 
			
		||||
Öncelikle ilgili forge web kullanıcı arayüzlerinde uzaktaki adres arayüzünden depolar oluşturuyoruz.
 | 
			
		||||
 | 
			
		||||
Bunun için aşağıdaki gibi adreslere erişiyoruz : 
 | 
			
		||||
 | 
			
		||||
* [GitHub](https://github.com/hwpplayer1/hacker-how-to)
 | 
			
		||||
* [GitLab](https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to)
 | 
			
		||||
* [sr.ht](https://git.sr.ht/~mertgor/hacker-how-to)
 | 
			
		||||
* [vern.cc](https://git.vern.cc/hwpplayer1/hacker-how-to)
 | 
			
		||||
* [Disroot](https://git.disroot.org/hwpplayer1/hacker-how-to)
 | 
			
		||||
* [Codeberg](https://codeberg.org/hwpplayer1/hacker-how-to)
 | 
			
		||||
* [Truva Linux](https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
ve yerel kod ortamımız ( forge ) benim için bu forgejo'dur.
 | 
			
		||||
 | 
			
		||||
Biz SSH adreslerini ekliyoruz ancak siz https adreslerini ekleyebilirsiniz.
 | 
			
		||||
 | 
			
		||||
Adım adım anlatımı aşağıdaki gibidir : 
 | 
			
		||||
 | 
			
		||||
```git clone git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Sonra ```cd hacker-how-to```
 | 
			
		||||
 | 
			
		||||
Ve bundan sonra ```origin``` adres ismini ```github``` ile değiştirin ve ```git remote add all git@github.com:hwpplayer1/hacker-how-to.git``` adresini all olarak ekleyin.
 | 
			
		||||
 | 
			
		||||
Bu, GitHub'ın all olarak ilk ve lider olarak tüm depoları kapsayacak şekilde bizim içerik göndermemizi sağlaycaktır.
 | 
			
		||||
 | 
			
		||||
Bundan sonra  ```git remote add gitlab git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git``` GitLab adresini ekleyelim.
 | 
			
		||||
 | 
			
		||||
sr.ht için ```git remote add sr.ht git@git.sr.ht:~mertgor/hacker-how-to```
 | 
			
		||||
 | 
			
		||||
vern.cc için ```git remote add vern.cc ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
disroot için ```git remote add disroot git@git.disroot.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Codeberg için ```git remote add codeberg git@codeberg.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
ve Truva Linux için ```https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Bu aşamadan sonra her adres için bu komutu çalıştıracağız ```git remote set-url --add --push all``` 
 | 
			
		||||
 | 
			
		||||
Bunlar :
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@git.sr.ht:~mertgor/hacker-how-to```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@git.disroot.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@codeberg.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
ve benim local forge(forgejo'm)'um için ```git remote set-url --add --push all git@127.0.0.1:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Sonra kodumuzu veya içeriğimizi göndermek için sırasıyla  ```git add .``` dosyalarımızı eklemek için,  ```git commit -S -m "Your Commit Message"``` dosyalarımızı işlemek için, ve ```git push -uv all``` dosyalarımızı ilgili uzak depolara(forge ortamlarına) göndermek için çalıştırılacaktır.
 | 
			
		||||
 | 
			
		||||
**mutlu hacklemeler!...**
 | 
			
		||||
@@ -2,63 +2,66 @@
 | 
			
		||||
 | 
			
		||||
First we create remote repositories on the related forge web user interfaces.
 | 
			
		||||
 | 
			
		||||
For this repository they are :
 | 
			
		||||
For this repository it is :
 | 
			
		||||
 | 
			
		||||
* [Masscollabs Services](https://source.masscollabs.xyz/masscollaborationlabs/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
* [GitHub](https://github.com/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
* [GitLab](https://gitlab.com/masscollabs/masscollaborationlabs/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
* [sr.ht](https://git.sr.ht/~mertgor/hacker-how-to)
 | 
			
		||||
* [vern.cc](https://git.vern.cc/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
* [Disroot](https://git.disroot.org/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
* [Codeberg](https://codeberg.org/hwpplayer1/hacker-how-to)
 | 
			
		||||
* [Truva Linux](https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
and your local forge (for me it is forgejo)
 | 
			
		||||
* [Emin.Software](https://git.emin.software/hwpplayer1/hacker-how-to)
 | 
			
		||||
 | 
			
		||||
We add SSH addresses but you may add the https addresses
 | 
			
		||||
 | 
			
		||||
Here it is step by step 
 | 
			
		||||
 | 
			
		||||
```git clone git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
```git clone ssh://git@source.masscollabs.xyz/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Then ```cd hacker-how-to```
 | 
			
		||||
Then ```cd hacker-howo-to```
 | 
			
		||||
 | 
			
		||||
After this change the ```origin``` with ```github``` and add ```git remote add all git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
After thıs change the ```origin``` with ```masscollabs``` and add ```git clone ssh://git@source.masscollabs.xyz/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
This will make the GitHub all address to lead all repositories
 | 
			
		||||
This will make the Masscollabs Source Forge lead for all address
 | 
			
		||||
 | 
			
		||||
After this add GitHub ```git clone git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
After this add GitLab ```git remote add gitlab git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
sr.ht ```git remote add sr.ht git@git.sr.ht:~mertgor/hacker-how-to```
 | 
			
		||||
After this add sr.ht ```git remote add sr.ht git@git.sr.ht:~mertgor/hacker-how-to```
 | 
			
		||||
 | 
			
		||||
vern.cc ```git remote add vern.cc ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
After this add disroot ```git remote add disroot git@git.disroot.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
disroot ```git remote add disroot git@git.disroot.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
After this add codeberg ```git remote add codeberg git@codeberg.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
codeberg ```git remote add codeberg git@codeberg.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
and Truva Linux ```https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
and after this add emin.software ```git remote add emin.software ssh://git@git.emin.software:3022/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
After this we will execute ```git remote set-url --add --push all``` command for each git ssh address
 | 
			
		||||
 | 
			
		||||
They are :
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all ssh://git@source.masscollabs.xyz/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@github.com:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@gitlab.com:masscollabs/masscollaborationlabs/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@git.sr.ht:~mertgor/hacker-how-to```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all ssh://git@vern.cc:1813/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@git.disroot.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all git@codeberg.org:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
```git remote set-url --add --push all https://git.truvalinux.org.tr/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
and for my local forge as forgejo it is ```git remote set-url --add --push all git@127.0.0.1:hwpplayer1/hacker-how-to.git```
 | 
			
		||||
```git remote set-url --addd --push all ssh://git@git.emin.software:3022/hwpplayer1/hacker-how-to.git```
 | 
			
		||||
 | 
			
		||||
Then run ```git add .``` for your files ```git commit -S -m "Your Commit Message"``` and run ```git push -uv all``` to push your commits to remote.
 | 
			
		||||
 | 
			
		||||
Source : https://forum.pardus.org.tr/t/birden-fazla-git-reposuna-sahip-olmak/15381/3 
 | 
			
		||||
 | 
			
		||||
**happy hacking!...**
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								presentations/cloud.odp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/cloud.odp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								presentations/cloud.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/cloud.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								presentations/git_GitHub.odp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/git_GitHub.odp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								presentations/git_GitHub.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/git_GitHub.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								presentations/organizasyon.odp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/organizasyon.odp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								presentations/organizasyon.pdf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								presentations/organizasyon.pdf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										49
									
								
								ssh-key-generator.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								ssh-key-generator.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,49 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# E-posta adresini kullanıcıdan al
 | 
			
		||||
read -p "E-posta adresinizi girin: " email
 | 
			
		||||
 | 
			
		||||
# Parolayı kullanıcıdan al
 | 
			
		||||
read -s -p "Parolanızı girin (boş bırakırsanız otomatik rastgele güçlü bir parola oluşturulur): " password
 | 
			
		||||
echo ""
 | 
			
		||||
 | 
			
		||||
# Parola boş ise, otomatik olarak oluştur
 | 
			
		||||
if [ -z "$password" ]; then
 | 
			
		||||
  password=$(pwgen -s -y 36 1)
 | 
			
		||||
  echo "Rastgele güçlü bir parola oluşturuldu."
 | 
			
		||||
  echo ""
 | 
			
		||||
else
 | 
			
		||||
  echo "Parolanız alındı!"
 | 
			
		||||
  echo ""
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Anahtar dosyalarını oluştur
 | 
			
		||||
ssh-keygen -t ed25519 -a 100 -N "$password" -C "$email" -f ~/.ssh/"$email"
 | 
			
		||||
echo ""
 | 
			
		||||
 | 
			
		||||
if [ $? -eq 0 ]; then
 | 
			
		||||
  echo "SSH anahtar çifti başarıyla oluşturuldu."
 | 
			
		||||
  # Güvenlik nedeniyle parolayı dosyaya kaydetmek yerine, bir parola yöneticisi kullanın.
 | 
			
		||||
  # Parola yöneticisi kullanmıyorsanız, parolayı güvenli bir yere kopyalayın.
 | 
			
		||||
  # echo "SSH anahtar parolanız: $password" > ~/password.txt
 | 
			
		||||
else
 | 
			
		||||
  echo "SSH anahtar çifti oluşturma hatası."
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Özel anahtarların saklandığı klasör ve özel anahtar dosyasının izinlerini ayarlayın
 | 
			
		||||
chmod 700 ~/.ssh
 | 
			
		||||
chmod 600 ~/.ssh/"$email"
 | 
			
		||||
echo ""
 | 
			
		||||
 | 
			
		||||
echo "Genel anahtarınızı paylaşabilirsiniz. Genellikle, SSH erişimi sağlamak istediğiniz sunuculara bu anahtarı kopyalarsınız."
 | 
			
		||||
echo "Genel anahtar: ~/.ssh/$email.pub"
 | 
			
		||||
echo ""
 | 
			
		||||
# Genel anahtarın içeriğini ekrana yazdır
 | 
			
		||||
echo "SSH Genel Anahtar İçeriği:"
 | 
			
		||||
cat ~/.ssh/"$email".pub
 | 
			
		||||
echo ""
 | 
			
		||||
echo "Özel anahtarınızı kesinlikle kimseyle paylaşmayın ve güvenli bir yerde saklayın."
 | 
			
		||||
echo "Özel anahtar: ~/.ssh/$email"
 | 
			
		||||
echo ""
 | 
			
		||||
echo "Güvenlik nedeniyle parolayı dosyaya kaydetmek yerine, bir parola yöneticisi kullanın."
 | 
			
		||||
echo "Otomatik oluşturulan parola: $password"
 | 
			
		||||
		Reference in New Issue
	
	Block a user